Idioma

INSLayoutManagerDelegate Interface

Definição

Um objeto delegado que expõe eventos para NSLayoutManagers.

[Foundation.Protocol(Name="NSLayoutManagerDelegate", WrapperType=typeof(AppKit.NSLayoutManagerDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidInvalidatedLayout", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AppKit.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(AppKit.NSLayoutManager), typeof(AppKit.NSTextContainer), typeof(System.Boolean) }, Selector="layoutManager:didCompleteLayoutForTextContainer:atEnd:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldUseTemporaryAttributes", ParameterByRef=new System.Boolean[] { false, false, false, false, true }, ParameterType=new System.Type[] { typeof(AppKit.NSLayoutManager), typeof(Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject>), typeof(System.Boolean), typeof(System.UIntPtr), typeof(Foundation.NSRange) }, ReturnType=typeof(Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject>), Selector="layoutManager:shouldUseTemporaryAttributes:forDrawingToScreen:atCharacterIndex:effectiveRange:")]
[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(AppKit.NSLayoutManager), typeof(System.IntPtr), typeof(System.IntPtr), typeof(System.IntPtr), typeof(AppKit.NSFont), 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(AppKit.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(AppKit.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(AppKit.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(AppKit.NSLayoutManager), typeof(AppKit.NSControlCharacterAction), typeof(System.UIntPtr) }, ReturnType=typeof(AppKit.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(AppKit.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(AppKit.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(AppKit.NSLayoutManager), typeof(System.UIntPtr), typeof(AppKit.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(AppKit.NSLayoutManager), typeof(AppKit.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(AppKit.NSLayoutManager), typeof(CoreGraphics.CGRect), typeof(CoreGraphics.CGRect), typeof(System.Runtime.InteropServices.NFloat), typeof(AppKit.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(AppKit.NSLayoutManagerDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidInvalidatedLayout", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AppKit.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(AppKit.NSLayoutManager), typeof(AppKit.NSTextContainer), typeof(System.Boolean) }, Selector="layoutManager:didCompleteLayoutForTextContainer:atEnd:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldUseTemporaryAttributes", ParameterByRef=new System.Boolean[] { false, false, false, false, true }, ParameterType=new System.Type[] { typeof(AppKit.NSLayoutManager), typeof(Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject>), typeof(System.Boolean), typeof(System.UIntPtr), typeof(Foundation.NSRange) }, ReturnType=typeof(Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject>), Selector="layoutManager:shouldUseTemporaryAttributes:forDrawingToScreen:atCharacterIndex:effectiveRange:")>]
[<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(AppKit.NSLayoutManager), typeof(System.IntPtr), typeof(System.IntPtr), typeof(System.IntPtr), typeof(AppKit.NSFont), 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(AppKit.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(AppKit.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(AppKit.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(AppKit.NSLayoutManager), typeof(AppKit.NSControlCharacterAction), typeof(System.UIntPtr) }, ReturnType=typeof(AppKit.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(AppKit.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(AppKit.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(AppKit.NSLayoutManager), typeof(System.UIntPtr), typeof(AppKit.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(AppKit.NSLayoutManager), typeof(AppKit.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(AppKit.NSLayoutManager), typeof(CoreGraphics.CGRect), typeof(CoreGraphics.CGRect), typeof(System.Runtime.InteropServices.NFloat), typeof(AppKit.NSTextContainer), typeof(Foundation.NSRange) }, ReturnType=typeof(System.Boolean), Selector="layoutManager:shouldSetLineFragmentRect:lineFragmentUsedRect:baselineOffset:inTextContainer:forGlyphRange:")>]
type INSLayoutManagerDelegate = interface
    interface INativeObject
    interface IDisposable
Derivado
Atributos
Implementações

Propriedades

Nome Description
Handle

Manipule (ponteiro) para a representação de objeto não gerenciado.

(Herdado de INativeObject)

Métodos

Nome Description
DidChangeGeometry(NSLayoutManager, NSTextContainer, CGSize)

A geometria da textContainer alteração e oldSizelayoutManager invalidará o layout.

DidCompleteLayout(NSLayoutManager, NSTextContainer, Boolean)

Indica que o NSLayoutManager especificado concluiu a colocação de texto no contêiner de texto especificado.

DidInvalidatedLayout(NSLayoutManager)

Indica que o NSLayoutManager invalidou informações de layout (não informações de glifo).

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

Um objeto delegado que expõe eventos para NSLayoutManagers.

GetLineSpacingAfterGlyph(NSLayoutManager, UIntPtr, CGRect)

Um objeto delegado que expõe eventos para NSLayoutManagers.

GetParagraphSpacingAfterGlyph(NSLayoutManager, UIntPtr, CGRect)

Um objeto delegado que expõe eventos para NSLayoutManagers.

GetParagraphSpacingBeforeGlyph(NSLayoutManager, UIntPtr, CGRect)

Um objeto delegado que expõe eventos para NSLayoutManagers.

ShouldBreakLineByHyphenatingBeforeCharacter(NSLayoutManager, UIntPtr)

Se uma linha deve quebrar com um hífen no ponto especificado. Chamado com frequência.

ShouldBreakLineByWordBeforeCharacter(NSLayoutManager, UIntPtr)

Se uma linha deve ter uma quebra de linha suave. Chamado com frequência.

ShouldGenerateGlyphs(NSLayoutManager, IntPtr, IntPtr, IntPtr, NSFont, NSRange)

Quando substituído, permite que o desenvolvedor do aplicativo personalize o processo de geração de glifo inicial.

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

Um objeto delegado que expõe eventos para NSLayoutManagers.

ShouldUseAction(NSLayoutManager, NSControlCharacterAction, UIntPtr)

A ação de caractere de controle para o caractere de controle no índice especificado.

ShouldUseTemporaryAttributes(NSLayoutManager, NSDictionary<NSString,NSObject>, Boolean, UIntPtr, NSRange)

Um objeto delegado que expõe eventos para NSLayoutManagers.

Métodos de Extensão

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

A geometria da textContainer alteração e oldSizelayoutManager invalidará o layout.

DidCompleteLayout(INSLayoutManagerDelegate, NSLayoutManager, NSTextContainer, Boolean)

Indica que o NSLayoutManager especificado concluiu a colocação de texto no contêiner de texto especificado.

DidInvalidatedLayout(INSLayoutManagerDelegate, NSLayoutManager)

Indica que o NSLayoutManager invalidou informações de layout (não informações de glifo).

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

Um objeto delegado que expõe eventos para NSLayoutManagers.

GetHandle(INativeObject)

Um objeto delegado que expõe eventos para NSLayoutManagers.

GetLineSpacingAfterGlyph(INSLayoutManagerDelegate, NSLayoutManager, UIntPtr, CGRect)

Um objeto delegado que expõe eventos para NSLayoutManagers.

GetNonNullHandle(INativeObject, String)

Um objeto delegado que expõe eventos para NSLayoutManagers.

GetParagraphSpacingAfterGlyph(INSLayoutManagerDelegate, NSLayoutManager, UIntPtr, CGRect)

Um objeto delegado que expõe eventos para NSLayoutManagers.

GetParagraphSpacingBeforeGlyph(INSLayoutManagerDelegate, NSLayoutManager, UIntPtr, CGRect)

Um objeto delegado que expõe eventos para NSLayoutManagers.

ShouldBreakLineByHyphenatingBeforeCharacter(INSLayoutManagerDelegate, NSLayoutManager, UIntPtr)

Se uma linha deve quebrar com um hífen no ponto especificado. Chamado com frequência.

ShouldBreakLineByWordBeforeCharacter(INSLayoutManagerDelegate, NSLayoutManager, UIntPtr)

Se uma linha deve ter uma quebra de linha suave. Chamado com frequência.

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

Quando substituído, permite que o desenvolvedor do aplicativo personalize o processo de geração de glifo inicial.

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

Um objeto delegado que expõe eventos para NSLayoutManagers.

ShouldUseAction(INSLayoutManagerDelegate, NSLayoutManager, NSControlCharacterAction, UIntPtr)

A ação de caractere de controle para o caractere de controle no índice especificado.

ShouldUseTemporaryAttributes(INSLayoutManagerDelegate, NSLayoutManager, NSDictionary<NSString,NSObject>, Boolean, UIntPtr, NSRange)

Um objeto delegado que expõe eventos para NSLayoutManagers.

Aplica-se a

Confira também