Język

INSTextSelectionManagerDelegate Interfejs

Definicja

Ten interfejs reprezentuje protokół 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
Pochodne
Atrybuty
Implementuje

Uwagi

Klasa, która implementuje ten interfejs (i podklasy NSObject) zostanie wyeksportowana do Objective-C jako implementacja protokołu Objective-C reprezentowanego przez ten interfejs.

Klasa może również implementować składowe z tego interfejsu w celu zaimplementowania składowych z protokołu.

Właściwości

Nazwisko Opis
Handle

Dojdź (wskaźnik) do niezarządzanej reprezentacji obiektu.

(Odziedziczone po INativeObject)
TextSelection

Ten interfejs reprezentuje protokół NSTextSelectionManagerDelegateObjective-C .

Metody

Nazwisko Opis
DidEndSelection(NSTextSelectionManager)

Ten interfejs reprezentuje protokół NSTextSelectionManagerDelegateObjective-C .

GetFrameOfTextContainer(NSTextSelectionManager, CGPoint)

Ten interfejs reprezentuje protokół NSTextSelectionManagerDelegateObjective-C .

GetLocationOfTextContainer(NSTextSelectionManager, CGPoint)

Ten interfejs reprezentuje protokół NSTextSelectionManagerDelegateObjective-C .

MakeDraggingSession(NSTextSelectionManager, NSGestureRecognizer)

Ten interfejs reprezentuje protokół NSTextSelectionManagerDelegateObjective-C .

ShouldBeginSelection(NSTextSelectionManager, CGPoint)

Ten interfejs reprezentuje protokół NSTextSelectionManagerDelegateObjective-C .

WillBeginSelection(NSTextSelectionManager)

Ten interfejs reprezentuje protokół NSTextSelectionManagerDelegateObjective-C .

Metody rozszerzania

Nazwisko Opis
GetHandle(INativeObject)

Ten interfejs reprezentuje protokół NSTextSelectionManagerDelegateObjective-C .

GetNonNullHandle(INativeObject, String)

Ten interfejs reprezentuje protokół NSTextSelectionManagerDelegateObjective-C .

Dotyczy