net9.0-ios
namespace UIKit
{
    [Protocol(Name = "NSLayoutManagerDelegate", WrapperType = typeof(NSLayoutManagerDelegateWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidInvalidatedLayout", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NSLayoutManager) }, Selector = "layoutManagerDidInvalidateLayout:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidCompleteLayout", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSLayoutManager), typeof(NSTextContainer), typeof(bool) }, Selector = "layoutManager:didCompleteLayoutForTextContainer:atEnd:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidChangeGeometry", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSLayoutManager), typeof(NSTextContainer), typeof(CGSize) }, Selector = "layoutManager:textContainer:didChangeGeometryFromSize:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldGenerateGlyphs", ParameterByRef = new[] { false, false, false, false, false, false }, ParameterType = new[] { typeof(NSLayoutManager), typeof(IntPtr), typeof(IntPtr), typeof(IntPtr), typeof(UIFont), typeof(NSRange) }, ReturnType = typeof(UIntPtr), Selector = "layoutManager:shouldGenerateGlyphs:properties:characterIndexes:font:forGlyphRange:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetLineSpacingAfterGlyph", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSLayoutManager), typeof(UIntPtr), typeof(CGRect) }, ReturnType = typeof(NFloat), Selector = "layoutManager:lineSpacingAfterGlyphAtIndex:withProposedLineFragmentRect:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetParagraphSpacingBeforeGlyph", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSLayoutManager), typeof(UIntPtr), typeof(CGRect) }, ReturnType = typeof(NFloat), Selector = "layoutManager:paragraphSpacingBeforeGlyphAtIndex:withProposedLineFragmentRect:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetParagraphSpacingAfterGlyph", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSLayoutManager), typeof(UIntPtr), typeof(CGRect) }, ReturnType = typeof(NFloat), Selector = "layoutManager:paragraphSpacingAfterGlyphAtIndex:withProposedLineFragmentRect:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldUseAction", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NSLayoutManager), typeof(NSControlCharacterAction), typeof(UIntPtr) }, ReturnType = typeof(NSControlCharacterAction), Selector = "layoutManager:shouldUseAction:forControlCharacterAtIndex:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldBreakLineByWordBeforeCharacter", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSLayoutManager), typeof(UIntPtr) }, ReturnType = typeof(bool), Selector = "layoutManager:shouldBreakLineByWordBeforeCharacterAtIndex:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldBreakLineByHyphenatingBeforeCharacter", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSLayoutManager), typeof(UIntPtr) }, ReturnType = typeof(bool), Selector = "layoutManager:shouldBreakLineByHyphenatingBeforeCharacterAtIndex:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetBoundingBox", ParameterByRef = new[] { false, false, false, false, false, false }, ParameterType = new[] { typeof(NSLayoutManager), typeof(UIntPtr), typeof(NSTextContainer), typeof(CGRect), typeof(CGPoint), typeof(UIntPtr) }, ReturnType = typeof(CGRect), Selector = "layoutManager:boundingBoxForControlGlyphAtIndex:forTextContainer:proposedLineFragment:glyphPosition:characterIndex:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "ShouldSetLineFragmentRect", ParameterByRef = new[] { false, true, true, true, false, false }, ParameterType = new[] { typeof(NSLayoutManager), typeof(CGRect), typeof(CGRect), typeof(NFloat), typeof(NSTextContainer), typeof(NSRange) }, ReturnType = typeof(bool), Selector = "layoutManager:shouldSetLineFragmentRect:lineFragmentUsedRect:baselineOffset:inTextContainer:forGlyphRange:")]
    [SupportedOSPlatform("maccatalyst")]
    [SupportedOSPlatform("ios")]
    [SupportedOSPlatform("tvos")]
    public interface INSLayoutManagerDelegate : INativeObject, IDisposable
}
Assembly Microsoft.iOS , Version=17.0.0.0, PublicKeyToken=84e04ff9cfb79065
Help Documentation
.NET 6.0-ios6.0-maccatalyst6.0-tvos7.0-ios7.0-maccatalyst7.0-tvos8.0-ios8.0-maccatalyst8.0-tvos9.0-ios9.0-maccatalyst9.0-tvos
OS Platforms

For the selected framework this API is only supported on the following OS platforms:

  • iOS
  • Mac Catalyst
  • tvOS
  • Built-in API
  • Package-provided API

04/25/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙