IUITextPasteItem 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.
Interfaccia per l'uso di elementi di testo incollati e di rilascio.
[Foundation.Protocol(Name="UITextPasteItem", WrapperType=typeof(UIKit.UITextPasteItemWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetStringResult", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.String) }, Selector="setStringResult:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetAttributedStringResult", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSAttributedString) }, Selector="setAttributedStringResult:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetAttachmentResult", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.NSTextAttachment) }, Selector="setAttachmentResult:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetNoResult", Selector="setNoResult")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetDefaultResult", Selector="setDefaultResult")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="itemProvider", IsProperty=true, IsRequired=true, IsStatic=false, Name="ItemProvider", PropertyType=typeof(Foundation.NSItemProvider), Selector="itemProvider")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="localObject", IsProperty=true, IsRequired=true, IsStatic=false, Name="LocalObject", PropertyType=typeof(Foundation.NSObject), Selector="localObject")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="defaultAttributes", IsProperty=true, IsRequired=true, IsStatic=false, Name="DefaultAttributes", PropertyType=typeof(Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject>), Selector="defaultAttributes")]
public interface IUITextPasteItem : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="UITextPasteItem", WrapperType=typeof(UIKit.UITextPasteItemWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetStringResult", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.String) }, Selector="setStringResult:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetAttributedStringResult", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(Foundation.NSAttributedString) }, Selector="setAttributedStringResult:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetAttachmentResult", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.NSTextAttachment) }, Selector="setAttachmentResult:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetNoResult", Selector="setNoResult")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetDefaultResult", Selector="setDefaultResult")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="itemProvider", IsProperty=true, IsRequired=true, IsStatic=false, Name="ItemProvider", PropertyType=typeof(Foundation.NSItemProvider), Selector="itemProvider")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="localObject", IsProperty=true, IsRequired=true, IsStatic=false, Name="LocalObject", PropertyType=typeof(Foundation.NSObject), Selector="localObject")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="defaultAttributes", IsProperty=true, IsRequired=true, IsStatic=false, Name="DefaultAttributes", PropertyType=typeof(Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject>), Selector="defaultAttributes")>]
type IUITextPasteItem = interface
interface INativeObject
interface IDisposable
- Derivato
- Attributi
- Implementazioni
Proprietà
| Nome | Descrizione |
|---|---|
| DefaultAttributes |
Ottiene gli attributi predefiniti per gli elementi incollati in testo normale. |
| Handle |
Handle (puntatore) alla rappresentazione dell'oggetto non gestito. (Ereditato da INativeObject) |
| ItemProvider |
Ottiene il provider che fornisce i dati di testo per l'elemento incollato. |
| LocalObject |
Ottiene l'oggetto contesto, se presente, associato all'elemento quando è stato sollevato. |
Metodi
| Nome | Descrizione |
|---|---|
| SetAttachmentResult(NSTextAttachment) |
Imposta il risultato dell'allegato sull'allegato specificato. |
| SetAttributedStringResult(NSAttributedString) |
Imposta il valore stringa dell'elemento incolla. |
| SetDefaultResult() |
Interfaccia per l'uso di elementi di testo incollati e di rilascio. |
| SetNoResult() |
Fa sì che il valore di testo non venga fornito dal provider. |
| SetStringResult(String) |
Imposta il risultato del testo. |
Metodi di estensione
| Nome | Descrizione |
|---|---|
| GetHandle(INativeObject) |
Interfaccia per l'uso di elementi di testo incollati e di rilascio. |
| GetNonNullHandle(INativeObject, String) |
Interfaccia per l'uso di elementi di testo incollati e di rilascio. |