INSTextStorageDelegate 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
一個代理物件,提供與處理 NSTextStorage編輯相關的事件。
[Foundation.Protocol(Name="NSTextStorageDelegate", WrapperType=typeof(AppKit.NSTextStorageDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="TextStorageWillProcessEditing", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="textStorageWillProcessEditing:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="TextStorageDidProcessEditing", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="textStorageDidProcessEditing:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillProcessEditing", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSTextStorage), typeof(AppKit.NSTextStorageEditActions), typeof(Foundation.NSRange), typeof(System.IntPtr) }, Selector="textStorage:willProcessEditing:range:changeInLength:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidProcessEditing", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSTextStorage), typeof(AppKit.NSTextStorageEditActions), typeof(Foundation.NSRange), typeof(System.IntPtr) }, Selector="textStorage:didProcessEditing:range:changeInLength:")]
public interface INSTextStorageDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="NSTextStorageDelegate", WrapperType=typeof(AppKit.NSTextStorageDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="TextStorageWillProcessEditing", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="textStorageWillProcessEditing:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="TextStorageDidProcessEditing", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSNotification) }, Selector="textStorageDidProcessEditing:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillProcessEditing", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSTextStorage), typeof(AppKit.NSTextStorageEditActions), typeof(Foundation.NSRange), typeof(System.IntPtr) }, Selector="textStorage:willProcessEditing:range:changeInLength:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidProcessEditing", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(AppKit.NSTextStorage), typeof(AppKit.NSTextStorageEditActions), typeof(Foundation.NSRange), typeof(System.IntPtr) }, Selector="textStorage:didProcessEditing:range:changeInLength:")>]
type INSTextStorageDelegate = interface
interface INativeObject
interface IDisposable
- 衍生
- 屬性
- 實作
屬性
| 名稱 | Description |
|---|---|
| Handle |
Handle(指標)指向未管理物件表示。 (繼承來源 INativeObject) |
方法
| 名稱 | Description |
|---|---|
| DidProcessEditing(NSTextStorage, NSTextStorageEditActions, NSRange, IntPtr) |
表示指定的 editedRange 編輯已完成。 |
| TextStorageDidProcessEditing(NSNotification) |
一個代理物件,提供與處理 NSTextStorage編輯相關的事件。 |
| TextStorageWillProcessEditing(NSNotification) |
一個代理物件,提供與處理 NSTextStorage編輯相關的事件。 |
| WillProcessEditing(NSTextStorage, NSTextStorageEditActions, NSRange, IntPtr) |
表示對指定的 editedRange 進行編輯即將開始。 |
擴充方法
| 名稱 | Description |
|---|---|
| DidProcessEditing(INSTextStorageDelegate, NSTextStorage, NSTextStorageEditActions, NSRange, IntPtr) |
表示指定的 editedRange 編輯已完成。 |
| GetHandle(INativeObject) |
一個代理物件,提供與處理 NSTextStorage編輯相關的事件。 |
| GetNonNullHandle(INativeObject, String) |
一個代理物件,提供與處理 NSTextStorage編輯相關的事件。 |
| TextStorageDidProcessEditing(INSTextStorageDelegate, NSNotification) |
一個代理物件,提供與處理 NSTextStorage編輯相關的事件。 |
| TextStorageWillProcessEditing(INSTextStorageDelegate, NSNotification) |
一個代理物件,提供與處理 NSTextStorage編輯相關的事件。 |
| WillProcessEditing(INSTextStorageDelegate, NSTextStorage, NSTextStorageEditActions, NSRange, IntPtr) |
表示對指定的 editedRange 進行編輯即將開始。 |