INSLayoutManagerDelegate Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Foundation.Protocol(Name="NSLayoutManagerDelegate", WrapperType=typeof(UIKit.NSLayoutManagerDelegateWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public interface INSLayoutManagerDelegate : IDisposable, ObjCRuntime.INativeObject
type INSLayoutManagerDelegate = interface
interface INativeObject
interface IDisposable
Derived
Attributes
Implements
This interface contains the required methods (if any) from the protocol defined by NSLayoutManagerDelegate .
If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the NSLayoutManagerDelegate protocol.
Optional methods (if any) are provided by the NSLayoutManagerDelegate_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.
Properties
Extension Methods
BoundingBoxForControlGlyph(INSLayoutManagerDelegate, NSLayoutManager, nuint, NSTextContainer, CGRect, CGPoint, nuint)
DidChangeGeometry(INSLayoutManagerDelegate, NSLayoutManager, NSTextContainer, CGSize)
The geometry of textContainer
changed from oldSize
, and layoutManager
will invalidate the layout.
DidCompleteLayout(INSLayoutManagerDelegate, NSLayoutManager, NSTextContainer, Boolean)
Indicates that the specified NSLayoutManager has finished laying out text in the specified text container.
DidInvalidatedLayout(INSLayoutManagerDelegate, NSLayoutManager)
Indicates that the NSLayoutManager has invalidated layout information (not glyph information).
LineSpacingAfterGlyphAtIndex(INSLayoutManagerDelegate, NSLayoutManager, nuint, CGRect)
The line spacing after the line ending with the specified glyph index.
ParagraphSpacingAfterGlyphAtIndex(INSLayoutManagerDelegate, NSLayoutManager, nuint, CGRect)
The paragraph spacing after the line ending with the specified glyph index.
ParagraphSpacingBeforeGlyphAtIndex(INSLayoutManagerDelegate, NSLayoutManager, nuint, CGRect)
The paragraph spacing before the line starting with the specified glyph index.
ShouldBreakLineByHyphenatingBeforeCharacter(INSLayoutManagerDelegate, NSLayoutManager, nuint)
Whether a line should break with a hyphen at the specified point. Called frequently.
ShouldBreakLineByWordBeforeCharacter(INSLayoutManagerDelegate, NSLayoutManager, nuint)
Whether a line should have a soft line break. Called frequently.
ShouldGenerateGlyphs(INSLayoutManagerDelegate, NSLayoutManager, IntPtr, IntPtr, IntPtr, UIFont, NSRange)
When overridden, allows the app developer to customize the initial glyph generation process.
ShouldSetLineFragmentRect(INSLayoutManagerDelegate, NSLayoutManager, CGRect, CGRect, nfloat, NSTextContainer, NSRange)
ShouldUseAction(INSLayoutManagerDelegate, NSLayoutManager, NSControlCharacterAction, nuint)
The control character action for the control character at the specified index.
Applies to