iOS Guides | Samples

MonoTouch.UIKit.NSLayoutManagerDelegate Class

A delegate object that exposes events for NSLayoutManagers.

See Also: NSLayoutManagerDelegate


[MonoTouch.Foundation.Register("NSLayoutManagerDelegate", false)]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 7, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
public class NSLayoutManagerDelegate : NSObject, INSLayoutManagerDelegate, IDisposable

Related content


Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions:

The members of MonoTouch.UIKit.NSLayoutManagerDelegate are listed below.

See Also: NSObject

Public Constructors

Default constructor, initializes a new instance of this class.
A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Methods

BoundingBoxForControlGlyph(NSLayoutManager, UInt32, NSTextContainer, RectangleF, PointF, UInt32) : RectangleF
The RectangleF bounding the specified control glyph.
DidChangeGeometry(NSLayoutManager, NSTextContainer, SizeF)
The geometry of textContainer changed from oldSize, and layoutManager will invalidate the layout.
DidCompleteLayout(NSLayoutManager, NSTextContainer, Boolean)
Indicates that the specified NSLayoutManager has finished laying out text in the specified text container.
Indicates that the NSLayoutManager has invalidated layout information (not glyph information).
LineSpacingAfterGlyphAtIndex(NSLayoutManager, UInt32, RectangleF) : Single
The line spacing after the line ending with the specified glyph index.
ParagraphSpacingAfterGlyphAtIndex(NSLayoutManager, UInt32, RectangleF) : Single
The paragraph spacing after the line ending with the specified glyph index.
ParagraphSpacingBeforeGlyphAtIndex(NSLayoutManager, UInt32, RectangleF) : Single
The paragraph spacing before the line starting with the specified glyph index.
ShouldBreakLineByHyphenatingBeforeCharacter(NSLayoutManager, UInt32) : Boolean
Whether a line should break with a hyphen at the specified point. Called frequently.
ShouldBreakLineByWordBeforeCharacter(NSLayoutManager, UInt32) : Boolean
Whether a line should have a soft line break. Called frequently.
ShouldGenerateGlyphs(NSLayoutManager, IntPtr, IntPtr, IntPtr, UIFont, NSRange) : UInt32
When overridden, allows the app developer to customize the initial glyph generation process.
ShouldSetLineFragmentRect(NSLayoutManager, ref RectangleF, ref RectangleF, ref Single, NSTextContainer, NSRange) : Boolean
ShouldUseAction(NSLayoutManager, NSControlCharacterAction, UInt32) : NSControlCharacterAction
The control character action for the control character at the specified index.