INSLayoutManagerDelegate 인터페이스

정의

s에 대한 NSLayoutManager이벤트를 노출하는 대리자 개체입니다.

[Foundation.Protocol(Name="NSLayoutManagerDelegate", WrapperType=typeof(UIKit.NSLayoutManagerDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidInvalidatedLayout", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.NSLayoutManager) }, Selector="layoutManagerDidInvalidateLayout:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidCompleteLayout", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.NSLayoutManager), typeof(UIKit.NSTextContainer), typeof(System.Boolean) }, Selector="layoutManager:didCompleteLayoutForTextContainer:atEnd:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldGenerateGlyphs", ParameterByRef=new System.Boolean[] { false, false, false, false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.NSLayoutManager), typeof(System.IntPtr), typeof(System.IntPtr), typeof(System.IntPtr), typeof(UIKit.UIFont), typeof(Foundation.NSRange) }, ReturnType=typeof(System.UIntPtr), Selector="layoutManager:shouldGenerateGlyphs:properties:characterIndexes:font:forGlyphRange:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetLineSpacingAfterGlyph", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.NSLayoutManager), typeof(System.UIntPtr), typeof(CoreGraphics.CGRect) }, ReturnType=typeof(System.Runtime.InteropServices.NFloat), Selector="layoutManager:lineSpacingAfterGlyphAtIndex:withProposedLineFragmentRect:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetParagraphSpacingBeforeGlyph", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.NSLayoutManager), typeof(System.UIntPtr), typeof(CoreGraphics.CGRect) }, ReturnType=typeof(System.Runtime.InteropServices.NFloat), Selector="layoutManager:paragraphSpacingBeforeGlyphAtIndex:withProposedLineFragmentRect:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetParagraphSpacingAfterGlyph", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.NSLayoutManager), typeof(System.UIntPtr), typeof(CoreGraphics.CGRect) }, ReturnType=typeof(System.Runtime.InteropServices.NFloat), Selector="layoutManager:paragraphSpacingAfterGlyphAtIndex:withProposedLineFragmentRect:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldUseAction", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.NSLayoutManager), typeof(UIKit.NSControlCharacterAction), typeof(System.UIntPtr) }, ReturnType=typeof(UIKit.NSControlCharacterAction), Selector="layoutManager:shouldUseAction:forControlCharacterAtIndex:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldBreakLineByWordBeforeCharacter", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.NSLayoutManager), typeof(System.UIntPtr) }, ReturnType=typeof(System.Boolean), Selector="layoutManager:shouldBreakLineByWordBeforeCharacterAtIndex:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldBreakLineByHyphenatingBeforeCharacter", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.NSLayoutManager), typeof(System.UIntPtr) }, ReturnType=typeof(System.Boolean), Selector="layoutManager:shouldBreakLineByHyphenatingBeforeCharacterAtIndex:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetBoundingBox", ParameterByRef=new System.Boolean[] { false, false, false, false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.NSLayoutManager), typeof(System.UIntPtr), typeof(UIKit.NSTextContainer), typeof(CoreGraphics.CGRect), typeof(CoreGraphics.CGPoint), typeof(System.UIntPtr) }, ReturnType=typeof(CoreGraphics.CGRect), Selector="layoutManager:boundingBoxForControlGlyphAtIndex:forTextContainer:proposedLineFragment:glyphPosition:characterIndex:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidChangeGeometry", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.NSLayoutManager), typeof(UIKit.NSTextContainer), typeof(CoreGraphics.CGSize) }, Selector="layoutManager:textContainer:didChangeGeometryFromSize:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldSetLineFragmentRect", ParameterByRef=new System.Boolean[] { false, true, true, true, false, false }, ParameterType=new System.Type[] { typeof(UIKit.NSLayoutManager), typeof(CoreGraphics.CGRect), typeof(CoreGraphics.CGRect), typeof(System.Runtime.InteropServices.NFloat), typeof(UIKit.NSTextContainer), typeof(Foundation.NSRange) }, ReturnType=typeof(System.Boolean), Selector="layoutManager:shouldSetLineFragmentRect:lineFragmentUsedRect:baselineOffset:inTextContainer:forGlyphRange:")]
public interface INSLayoutManagerDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="NSLayoutManagerDelegate", WrapperType=typeof(UIKit.NSLayoutManagerDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidInvalidatedLayout", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.NSLayoutManager) }, Selector="layoutManagerDidInvalidateLayout:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidCompleteLayout", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.NSLayoutManager), typeof(UIKit.NSTextContainer), typeof(System.Boolean) }, Selector="layoutManager:didCompleteLayoutForTextContainer:atEnd:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldGenerateGlyphs", ParameterByRef=new System.Boolean[] { false, false, false, false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.NSLayoutManager), typeof(System.IntPtr), typeof(System.IntPtr), typeof(System.IntPtr), typeof(UIKit.UIFont), typeof(Foundation.NSRange) }, ReturnType=typeof(System.UIntPtr), Selector="layoutManager:shouldGenerateGlyphs:properties:characterIndexes:font:forGlyphRange:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetLineSpacingAfterGlyph", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.NSLayoutManager), typeof(System.UIntPtr), typeof(CoreGraphics.CGRect) }, ReturnType=typeof(System.Runtime.InteropServices.NFloat), Selector="layoutManager:lineSpacingAfterGlyphAtIndex:withProposedLineFragmentRect:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetParagraphSpacingBeforeGlyph", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.NSLayoutManager), typeof(System.UIntPtr), typeof(CoreGraphics.CGRect) }, ReturnType=typeof(System.Runtime.InteropServices.NFloat), Selector="layoutManager:paragraphSpacingBeforeGlyphAtIndex:withProposedLineFragmentRect:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetParagraphSpacingAfterGlyph", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.NSLayoutManager), typeof(System.UIntPtr), typeof(CoreGraphics.CGRect) }, ReturnType=typeof(System.Runtime.InteropServices.NFloat), Selector="layoutManager:paragraphSpacingAfterGlyphAtIndex:withProposedLineFragmentRect:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldUseAction", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.NSLayoutManager), typeof(UIKit.NSControlCharacterAction), typeof(System.UIntPtr) }, ReturnType=typeof(UIKit.NSControlCharacterAction), Selector="layoutManager:shouldUseAction:forControlCharacterAtIndex:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldBreakLineByWordBeforeCharacter", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.NSLayoutManager), typeof(System.UIntPtr) }, ReturnType=typeof(System.Boolean), Selector="layoutManager:shouldBreakLineByWordBeforeCharacterAtIndex:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldBreakLineByHyphenatingBeforeCharacter", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.NSLayoutManager), typeof(System.UIntPtr) }, ReturnType=typeof(System.Boolean), Selector="layoutManager:shouldBreakLineByHyphenatingBeforeCharacterAtIndex:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetBoundingBox", ParameterByRef=new System.Boolean[] { false, false, false, false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.NSLayoutManager), typeof(System.UIntPtr), typeof(UIKit.NSTextContainer), typeof(CoreGraphics.CGRect), typeof(CoreGraphics.CGPoint), typeof(System.UIntPtr) }, ReturnType=typeof(CoreGraphics.CGRect), Selector="layoutManager:boundingBoxForControlGlyphAtIndex:forTextContainer:proposedLineFragment:glyphPosition:characterIndex:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidChangeGeometry", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.NSLayoutManager), typeof(UIKit.NSTextContainer), typeof(CoreGraphics.CGSize) }, Selector="layoutManager:textContainer:didChangeGeometryFromSize:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldSetLineFragmentRect", ParameterByRef=new System.Boolean[] { false, true, true, true, false, false }, ParameterType=new System.Type[] { typeof(UIKit.NSLayoutManager), typeof(CoreGraphics.CGRect), typeof(CoreGraphics.CGRect), typeof(System.Runtime.InteropServices.NFloat), typeof(UIKit.NSTextContainer), typeof(Foundation.NSRange) }, ReturnType=typeof(System.Boolean), Selector="layoutManager:shouldSetLineFragmentRect:lineFragmentUsedRect:baselineOffset:inTextContainer:forGlyphRange:")>]
type INSLayoutManagerDelegate = interface
    interface INativeObject
    interface IDisposable
파생
특성
구현

속성

Name Description
Handle

관리되지 않는 개체 표현에 대한 핸들(포인터)입니다.

(다음에서 상속됨 INativeObject)

메서드

Name Description
DidChangeGeometry(NSLayoutManager, NSTextContainer, CGSize)

변경된 oldSize기하 도형 textContainer 이며 layoutManager 레이아웃이 무효화됩니다.

DidCompleteLayout(NSLayoutManager, NSTextContainer, Boolean)

지정된 NSLayoutManager가 지정된 텍스트 컨테이너에 텍스트 배치를 완료했음을 나타냅니다.

DidInvalidatedLayout(NSLayoutManager)

NSLayoutManager에 잘못된 레이아웃 정보가 있음을 나타냅니다(문자 모양 정보가 아님).

GetBoundingBox(NSLayoutManager, UIntPtr, NSTextContainer, CGRect, CGPoint, UIntPtr)

s에 대한 NSLayoutManager이벤트를 노출하는 대리자 개체입니다.

GetLineSpacingAfterGlyph(NSLayoutManager, UIntPtr, CGRect)

s에 대한 NSLayoutManager이벤트를 노출하는 대리자 개체입니다.

GetParagraphSpacingAfterGlyph(NSLayoutManager, UIntPtr, CGRect)

s에 대한 NSLayoutManager이벤트를 노출하는 대리자 개체입니다.

GetParagraphSpacingBeforeGlyph(NSLayoutManager, UIntPtr, CGRect)

s에 대한 NSLayoutManager이벤트를 노출하는 대리자 개체입니다.

ShouldBreakLineByHyphenatingBeforeCharacter(NSLayoutManager, UIntPtr)

지정된 지점에서 하이픈을 사용하여 줄 바꿈 여부를 지정합니다. 자주 호출됩니다.

ShouldBreakLineByWordBeforeCharacter(NSLayoutManager, UIntPtr)

선에 부드러운 줄 바꿈이 있어야 하는지 여부입니다. 자주 호출됩니다.

ShouldGenerateGlyphs(NSLayoutManager, IntPtr, IntPtr, IntPtr, UIFont, NSRange)

재정의되면 앱 개발자가 초기 문자 모양 생성 프로세스를 사용자 지정할 수 있습니다.

ShouldSetLineFragmentRect(NSLayoutManager, CGRect, CGRect, NFloat, NSTextContainer, NSRange)

s에 대한 NSLayoutManager이벤트를 노출하는 대리자 개체입니다.

ShouldUseAction(NSLayoutManager, NSControlCharacterAction, UIntPtr)

지정된 인덱스에서 컨트롤 문자에 대한 컨트롤 문자 동작입니다.

확장명 메서드

Name Description
DidChangeGeometry(INSLayoutManagerDelegate, NSLayoutManager, NSTextContainer, CGSize)

변경된 oldSize기하 도형 textContainer 이며 layoutManager 레이아웃이 무효화됩니다.

DidCompleteLayout(INSLayoutManagerDelegate, NSLayoutManager, NSTextContainer, Boolean)

지정된 NSLayoutManager가 지정된 텍스트 컨테이너에 텍스트 배치를 완료했음을 나타냅니다.

DidInvalidatedLayout(INSLayoutManagerDelegate, NSLayoutManager)

NSLayoutManager에 잘못된 레이아웃 정보가 있음을 나타냅니다(문자 모양 정보가 아님).

GetBoundingBox(INSLayoutManagerDelegate, NSLayoutManager, UIntPtr, NSTextContainer, CGRect, CGPoint, UIntPtr)

s에 대한 NSLayoutManager이벤트를 노출하는 대리자 개체입니다.

GetHandle(INativeObject)

s에 대한 NSLayoutManager이벤트를 노출하는 대리자 개체입니다.

GetLineSpacingAfterGlyph(INSLayoutManagerDelegate, NSLayoutManager, UIntPtr, CGRect)

s에 대한 NSLayoutManager이벤트를 노출하는 대리자 개체입니다.

GetNonNullHandle(INativeObject, String)

s에 대한 NSLayoutManager이벤트를 노출하는 대리자 개체입니다.

GetParagraphSpacingAfterGlyph(INSLayoutManagerDelegate, NSLayoutManager, UIntPtr, CGRect)

s에 대한 NSLayoutManager이벤트를 노출하는 대리자 개체입니다.

GetParagraphSpacingBeforeGlyph(INSLayoutManagerDelegate, NSLayoutManager, UIntPtr, CGRect)

s에 대한 NSLayoutManager이벤트를 노출하는 대리자 개체입니다.

ShouldBreakLineByHyphenatingBeforeCharacter(INSLayoutManagerDelegate, NSLayoutManager, UIntPtr)

지정된 지점에서 하이픈을 사용하여 줄 바꿈 여부를 지정합니다. 자주 호출됩니다.

ShouldBreakLineByWordBeforeCharacter(INSLayoutManagerDelegate, NSLayoutManager, UIntPtr)

선에 부드러운 줄 바꿈이 있어야 하는지 여부입니다. 자주 호출됩니다.

ShouldGenerateGlyphs(INSLayoutManagerDelegate, NSLayoutManager, IntPtr, IntPtr, IntPtr, UIFont, NSRange)

재정의되면 앱 개발자가 초기 문자 모양 생성 프로세스를 사용자 지정할 수 있습니다.

ShouldSetLineFragmentRect(INSLayoutManagerDelegate, NSLayoutManager, CGRect, CGRect, NFloat, NSTextContainer, NSRange)

s에 대한 NSLayoutManager이벤트를 노출하는 대리자 개체입니다.

ShouldUseAction(INSLayoutManagerDelegate, NSLayoutManager, NSControlCharacterAction, UIntPtr)

지정된 인덱스에서 컨트롤 문자에 대한 컨트롤 문자 동작입니다.

적용 대상

추가 정보