INSTextSelectionManagerDelegate Schnittstelle
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Diese Schnittstelle stellt das Objective-C-Protokoll NSTextSelectionManagerDelegatedar.
[Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, Name="NSTextSelectionManagerDelegate", WrapperType=typeof(AppKit.NSTextSelectionManagerDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldBeginSelection", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSTextSelectionManager), typeof(CoreGraphics.CGPoint) }, ReturnType=typeof(System.Boolean), Selector="selectionManager:shouldBeginSelectionAtPoint:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillBeginSelection", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AppKit.NSTextSelectionManager) }, Selector="selectionManagerWillBeginSelection:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidEndSelection", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AppKit.NSTextSelectionManager) }, Selector="selectionManagerDidEndSelection:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetLocationOfTextContainer", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSTextSelectionManager), typeof(CoreGraphics.CGPoint) }, ReturnType=typeof(AppKit.INSTextLocation), Selector="selectionManager:locationOfTextContainerAtPoint:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetFrameOfTextContainer", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSTextSelectionManager), typeof(CoreGraphics.CGPoint) }, ReturnType=typeof(CoreGraphics.CGRect), Selector="selectionManager:frameOfTextContainerAtPoint:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="MakeDraggingSession", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSTextSelectionManager), typeof(AppKit.NSGestureRecognizer) }, ReturnType=typeof(AppKit.NSDraggingSession), Selector="selectionManager:makeDraggingSessionWithGesture:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Strong, GetterSelector="textSelection", IsProperty=true, IsRequired=true, IsStatic=false, Name="TextSelection", PropertyType=typeof(AppKit.NSTextSelection), Selector="textSelection", SetterSelector="setTextSelection:")]
public interface INSTextSelectionManagerDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, Name="NSTextSelectionManagerDelegate", WrapperType=typeof(AppKit.NSTextSelectionManagerDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldBeginSelection", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSTextSelectionManager), typeof(CoreGraphics.CGPoint) }, ReturnType=typeof(System.Boolean), Selector="selectionManager:shouldBeginSelectionAtPoint:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillBeginSelection", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AppKit.NSTextSelectionManager) }, Selector="selectionManagerWillBeginSelection:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidEndSelection", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AppKit.NSTextSelectionManager) }, Selector="selectionManagerDidEndSelection:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetLocationOfTextContainer", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSTextSelectionManager), typeof(CoreGraphics.CGPoint) }, ReturnType=typeof(AppKit.INSTextLocation), Selector="selectionManager:locationOfTextContainerAtPoint:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetFrameOfTextContainer", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSTextSelectionManager), typeof(CoreGraphics.CGPoint) }, ReturnType=typeof(CoreGraphics.CGRect), Selector="selectionManager:frameOfTextContainerAtPoint:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="MakeDraggingSession", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSTextSelectionManager), typeof(AppKit.NSGestureRecognizer) }, ReturnType=typeof(AppKit.NSDraggingSession), Selector="selectionManager:makeDraggingSessionWithGesture:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Strong, GetterSelector="textSelection", IsProperty=true, IsRequired=true, IsStatic=false, Name="TextSelection", PropertyType=typeof(AppKit.NSTextSelection), Selector="textSelection", SetterSelector="setTextSelection:")>]
type INSTextSelectionManagerDelegate = interface
interface INativeObject
interface IDisposable
- Abgeleitet
- Attribute
- Implementiert
Hinweise
Eine Klasse, die diese Schnittstelle (und Unterklassen NSObject) implementiert, wird in Objective-C exportiert, da das Objective-C Protokoll implementiert wird, das diese Schnittstelle darstellt.
Eine Klasse kann auch Member aus dieser Schnittstelle implementieren, um Member aus dem Protokoll zu implementieren.
Eigenschaften
| Name | Beschreibung |
|---|---|
| Handle |
Handle (Zeiger) auf die nicht verwaltete Objektdarstellung. (Geerbt von INativeObject) |
| TextSelection |
Diese Schnittstelle stellt das Objective-C-Protokoll |
Methoden
| Name | Beschreibung |
|---|---|
| DidEndSelection(NSTextSelectionManager) |
Diese Schnittstelle stellt das Objective-C-Protokoll |
| GetFrameOfTextContainer(NSTextSelectionManager, CGPoint) |
Diese Schnittstelle stellt das Objective-C-Protokoll |
| GetLocationOfTextContainer(NSTextSelectionManager, CGPoint) |
Diese Schnittstelle stellt das Objective-C-Protokoll |
| MakeDraggingSession(NSTextSelectionManager, NSGestureRecognizer) |
Diese Schnittstelle stellt das Objective-C-Protokoll |
| ShouldBeginSelection(NSTextSelectionManager, CGPoint) |
Diese Schnittstelle stellt das Objective-C-Protokoll |
| WillBeginSelection(NSTextSelectionManager) |
Diese Schnittstelle stellt das Objective-C-Protokoll |
Erweiterungsmethoden
| Name | Beschreibung |
|---|---|
| GetHandle(INativeObject) |
Diese Schnittstelle stellt das Objective-C-Protokoll |
| GetNonNullHandle(INativeObject, String) |
Diese Schnittstelle stellt das Objective-C-Protokoll |