INSTextSelectionManagerDelegate インターフェイス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
このインターフェイスは、Objective-C プロトコル NSTextSelectionManagerDelegateを表します。
[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
- 派生
- 属性
- 実装
注釈
このインターフェイス (およびサブクラス NSObject) を実装するクラスは、このインターフェイスが表す Objective-C プロトコルの実装として Objective-C にエクスポートされます。
クラスは、プロトコルのメンバーを実装するために、このインターフェイスのメンバーを実装することもできます。
プロパティ
| Name | 説明 |
|---|---|
| Handle |
アンマネージ オブジェクト表現へのハンドル (ポインター)。 (継承元 INativeObject) |
| TextSelection |
このインターフェイスは、Objective-C プロトコル |
メソッド
| Name | 説明 |
|---|---|
| DidEndSelection(NSTextSelectionManager) |
このインターフェイスは、Objective-C プロトコル |
| GetFrameOfTextContainer(NSTextSelectionManager, CGPoint) |
このインターフェイスは、Objective-C プロトコル |
| GetLocationOfTextContainer(NSTextSelectionManager, CGPoint) |
このインターフェイスは、Objective-C プロトコル |
| MakeDraggingSession(NSTextSelectionManager, NSGestureRecognizer) |
このインターフェイスは、Objective-C プロトコル |
| ShouldBeginSelection(NSTextSelectionManager, CGPoint) |
このインターフェイスは、Objective-C プロトコル |
| WillBeginSelection(NSTextSelectionManager) |
このインターフェイスは、Objective-C プロトコル |
拡張メソッド
| Name | 説明 |
|---|---|
| GetHandle(INativeObject) |
このインターフェイスは、Objective-C プロトコル |
| GetNonNullHandle(INativeObject, String) |
このインターフェイスは、Objective-C プロトコル |