Lingua

INSTextSelectionManagerDelegate Interfaccia

Definizione

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 NSTextSelectionManagerDelegateObjective-C .

Metodi

Nome Descrizione
DidEndSelection(NSTextSelectionManager)

Questa interfaccia rappresenta il protocollo NSTextSelectionManagerDelegateObjective-C .

GetFrameOfTextContainer(NSTextSelectionManager, CGPoint)

Questa interfaccia rappresenta il protocollo NSTextSelectionManagerDelegateObjective-C .

GetLocationOfTextContainer(NSTextSelectionManager, CGPoint)

Questa interfaccia rappresenta il protocollo NSTextSelectionManagerDelegateObjective-C .

MakeDraggingSession(NSTextSelectionManager, NSGestureRecognizer)

Questa interfaccia rappresenta il protocollo NSTextSelectionManagerDelegateObjective-C .

ShouldBeginSelection(NSTextSelectionManager, CGPoint)

Questa interfaccia rappresenta il protocollo NSTextSelectionManagerDelegateObjective-C .

WillBeginSelection(NSTextSelectionManager)

Questa interfaccia rappresenta il protocollo NSTextSelectionManagerDelegateObjective-C .

Metodi di estensione

Nome Descrizione
GetHandle(INativeObject)

Questa interfaccia rappresenta il protocollo NSTextSelectionManagerDelegateObjective-C .

GetNonNullHandle(INativeObject, String)

Questa interfaccia rappresenta il protocollo NSTextSelectionManagerDelegateObjective-C .

Si applica a