INSLayoutManagerDelegate Interface
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Een gedelegeerde-object waarmee gebeurtenissen voor NSLayoutManagers worden weergegeven.
[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
- Afgeleid
- Kenmerken
- Implementeringen
Eigenschappen
| Name | Description |
|---|---|
| Handle |
Handle (pointer) naar de onbeheerde objectweergave. (Overgenomen van INativeObject) |
Methoden
| Name | Description |
|---|---|
| DidChangeGeometry(NSLayoutManager, NSTextContainer, CGSize) |
De geometrie van gewijzigd van |
| DidCompleteLayout(NSLayoutManager, NSTextContainer, Boolean) |
Geeft aan dat de opgegeven NSLayoutManager klaar is met het opmaken van tekst in de opgegeven tekstcontainer. |
| DidInvalidatedLayout(NSLayoutManager) |
Geeft aan dat de NSLayoutManager ongeldige indelingsgegevens heeft (geen glyph-informatie). |
| GetBoundingBox(NSLayoutManager, UIntPtr, NSTextContainer, CGRect, CGPoint, UIntPtr) |
Een gedelegeerde-object waarmee gebeurtenissen voor NSLayoutManagers worden weergegeven. |
| GetLineSpacingAfterGlyph(NSLayoutManager, UIntPtr, CGRect) |
Een gedelegeerde-object waarmee gebeurtenissen voor NSLayoutManagers worden weergegeven. |
| GetParagraphSpacingAfterGlyph(NSLayoutManager, UIntPtr, CGRect) |
Een gedelegeerde-object waarmee gebeurtenissen voor NSLayoutManagers worden weergegeven. |
| GetParagraphSpacingBeforeGlyph(NSLayoutManager, UIntPtr, CGRect) |
Een gedelegeerde-object waarmee gebeurtenissen voor NSLayoutManagers worden weergegeven. |
| ShouldBreakLineByHyphenatingBeforeCharacter(NSLayoutManager, UIntPtr) |
Of een regel moet worden verbroken met een afbreekstreepje op het opgegeven punt. Vaak gebeld. |
| ShouldBreakLineByWordBeforeCharacter(NSLayoutManager, UIntPtr) |
Of een lijn een zacht regeleinde moet hebben. Vaak gebeld. |
| ShouldGenerateGlyphs(NSLayoutManager, IntPtr, IntPtr, IntPtr, UIFont, NSRange) |
Wanneer deze wordt overschreven, kan de app-ontwikkelaar het eerste generatieproces voor glyph aanpassen. |
| ShouldSetLineFragmentRect(NSLayoutManager, CGRect, CGRect, NFloat, NSTextContainer, NSRange) |
Een gedelegeerde-object waarmee gebeurtenissen voor NSLayoutManagers worden weergegeven. |
| ShouldUseAction(NSLayoutManager, NSControlCharacterAction, UIntPtr) |
De besturingstekenactie voor het besturingselementteken op de opgegeven index. |