INSLayoutManagerDelegate Interface

Définition

Objet délégué qui expose des événements pour NSLayoutManagers.

[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
Dérivé
Attributs
Implémente

Propriétés

Nom Description
Handle

Handle (pointeur) vers la représentation d’objet non managée.

(Hérité de INativeObject)

Méthodes

Nom Description
DidChangeGeometry(NSLayoutManager, NSTextContainer, CGSize)

La géométrie de textContainer modification par rapport oldSizeà , et layoutManager invalidera la disposition.

DidCompleteLayout(NSLayoutManager, NSTextContainer, Boolean)

Indique que le NSLayoutManager spécifié a terminé la disposition du texte dans le conteneur de texte spécifié.

DidInvalidatedLayout(NSLayoutManager)

Indique que NSLayoutManager a invalidé les informations de disposition (et non les informations de glyphe).

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

Objet délégué qui expose des événements pour NSLayoutManagers.

GetLineSpacingAfterGlyph(NSLayoutManager, UIntPtr, CGRect)

Objet délégué qui expose des événements pour NSLayoutManagers.

GetParagraphSpacingAfterGlyph(NSLayoutManager, UIntPtr, CGRect)

Objet délégué qui expose des événements pour NSLayoutManagers.

GetParagraphSpacingBeforeGlyph(NSLayoutManager, UIntPtr, CGRect)

Objet délégué qui expose des événements pour NSLayoutManagers.

ShouldBreakLineByHyphenatingBeforeCharacter(NSLayoutManager, UIntPtr)

Indique si une ligne doit rompre avec un trait d’union au point spécifié. Appelé fréquemment.

ShouldBreakLineByWordBeforeCharacter(NSLayoutManager, UIntPtr)

Indique si une ligne doit avoir un saut de ligne souple. Appelé fréquemment.

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

En cas de substitution, permet au développeur d’applications de personnaliser le processus de génération de glyphe initial.

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

Objet délégué qui expose des événements pour NSLayoutManagers.

ShouldUseAction(NSLayoutManager, NSControlCharacterAction, UIntPtr)

Action de caractère de contrôle pour le caractère de contrôle à l’index spécifié.

Méthodes d’extension

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

La géométrie de textContainer modification par rapport oldSizeà , et layoutManager invalidera la disposition.

DidCompleteLayout(INSLayoutManagerDelegate, NSLayoutManager, NSTextContainer, Boolean)

Indique que le NSLayoutManager spécifié a terminé la disposition du texte dans le conteneur de texte spécifié.

DidInvalidatedLayout(INSLayoutManagerDelegate, NSLayoutManager)

Indique que NSLayoutManager a invalidé les informations de disposition (et non les informations de glyphe).

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

Objet délégué qui expose des événements pour NSLayoutManagers.

GetHandle(INativeObject)

Objet délégué qui expose des événements pour NSLayoutManagers.

GetLineSpacingAfterGlyph(INSLayoutManagerDelegate, NSLayoutManager, UIntPtr, CGRect)

Objet délégué qui expose des événements pour NSLayoutManagers.

GetNonNullHandle(INativeObject, String)

Objet délégué qui expose des événements pour NSLayoutManagers.

GetParagraphSpacingAfterGlyph(INSLayoutManagerDelegate, NSLayoutManager, UIntPtr, CGRect)

Objet délégué qui expose des événements pour NSLayoutManagers.

GetParagraphSpacingBeforeGlyph(INSLayoutManagerDelegate, NSLayoutManager, UIntPtr, CGRect)

Objet délégué qui expose des événements pour NSLayoutManagers.

ShouldBreakLineByHyphenatingBeforeCharacter(INSLayoutManagerDelegate, NSLayoutManager, UIntPtr)

Indique si une ligne doit rompre avec un trait d’union au point spécifié. Appelé fréquemment.

ShouldBreakLineByWordBeforeCharacter(INSLayoutManagerDelegate, NSLayoutManager, UIntPtr)

Indique si une ligne doit avoir un saut de ligne souple. Appelé fréquemment.

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

En cas de substitution, permet au développeur d’applications de personnaliser le processus de génération de glyphe initial.

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

Objet délégué qui expose des événements pour NSLayoutManagers.

ShouldUseAction(INSLayoutManagerDelegate, NSLayoutManager, NSControlCharacterAction, UIntPtr)

Action de caractère de contrôle pour le caractère de contrôle à l’index spécifié.

S’applique à

Voir aussi