INSTextSelectionManagerDelegate Interfaccia
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Questa interfaccia rappresenta il protocollo NSTextSelectionManagerDelegateObjective-C .
[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
- Derivato
- Attributi
- Implementazioni
Commenti
Una classe che implementa questa interfaccia (e sottoclassi NSObject) verrà esportata in Objective-C come implementazione del protocollo Objective-C rappresentata da questa interfaccia.
Una classe può anche implementare membri di questa interfaccia per implementare membri dal protocollo.
Proprietà
| Nome | Descrizione |
|---|---|
| Handle |
Handle (puntatore) alla rappresentazione dell'oggetto non gestito. (Ereditato da INativeObject) |
| TextSelection |
Questa interfaccia rappresenta il protocollo |
Metodi
| Nome | Descrizione |
|---|---|
| DidEndSelection(NSTextSelectionManager) |
Questa interfaccia rappresenta il protocollo |
| GetFrameOfTextContainer(NSTextSelectionManager, CGPoint) |
Questa interfaccia rappresenta il protocollo |
| GetLocationOfTextContainer(NSTextSelectionManager, CGPoint) |
Questa interfaccia rappresenta il protocollo |
| MakeDraggingSession(NSTextSelectionManager, NSGestureRecognizer) |
Questa interfaccia rappresenta il protocollo |
| ShouldBeginSelection(NSTextSelectionManager, CGPoint) |
Questa interfaccia rappresenta il protocollo |
| WillBeginSelection(NSTextSelectionManager) |
Questa interfaccia rappresenta il protocollo |
Metodi di estensione
| Nome | Descrizione |
|---|---|
| GetHandle(INativeObject) |
Questa interfaccia rappresenta il protocollo |
| GetNonNullHandle(INativeObject, String) |
Questa interfaccia rappresenta il protocollo |