IUITextPasteDelegate Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Interface for pasting and dropping text via item providers.
[Foundation.Protocol(Name="UITextPasteDelegate", WrapperType=typeof(UIKit.UITextPasteDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="TransformPasteItem", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.IUITextPasteConfigurationSupporting), typeof(UIKit.IUITextPasteItem) }, Selector="textPasteConfigurationSupporting:transformPasteItem:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="CombineItemAttributedStrings", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.IUITextPasteConfigurationSupporting), typeof(Foundation.NSAttributedString[]), typeof(UIKit.UITextRange) }, ReturnType=typeof(Foundation.NSAttributedString), Selector="textPasteConfigurationSupporting:combineItemAttributedStrings:forRange:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformPaste", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.IUITextPasteConfigurationSupporting), typeof(Foundation.NSAttributedString), typeof(UIKit.UITextRange) }, ReturnType=typeof(UIKit.UITextRange), Selector="textPasteConfigurationSupporting:performPasteOfAttributedString:toRange:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldAnimatePaste", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.IUITextPasteConfigurationSupporting), typeof(Foundation.NSAttributedString), typeof(UIKit.UITextRange) }, ReturnType=typeof(System.Boolean), Selector="textPasteConfigurationSupporting:shouldAnimatePasteOfAttributedString:toRange:")]
public interface IUITextPasteDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="UITextPasteDelegate", WrapperType=typeof(UIKit.UITextPasteDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="TransformPasteItem", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.IUITextPasteConfigurationSupporting), typeof(UIKit.IUITextPasteItem) }, Selector="textPasteConfigurationSupporting:transformPasteItem:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="CombineItemAttributedStrings", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.IUITextPasteConfigurationSupporting), typeof(Foundation.NSAttributedString[]), typeof(UIKit.UITextRange) }, ReturnType=typeof(Foundation.NSAttributedString), Selector="textPasteConfigurationSupporting:combineItemAttributedStrings:forRange:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformPaste", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.IUITextPasteConfigurationSupporting), typeof(Foundation.NSAttributedString), typeof(UIKit.UITextRange) }, ReturnType=typeof(UIKit.UITextRange), Selector="textPasteConfigurationSupporting:performPasteOfAttributedString:toRange:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldAnimatePaste", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.IUITextPasteConfigurationSupporting), typeof(Foundation.NSAttributedString), typeof(UIKit.UITextRange) }, ReturnType=typeof(System.Boolean), Selector="textPasteConfigurationSupporting:shouldAnimatePasteOfAttributedString:toRange:")>]
type IUITextPasteDelegate = interface
interface INativeObject
interface IDisposable
- Derived
- Attributes
- Implements
Properties
| Name | Description |
|---|---|
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from INativeObject) |
Methods
| Name | Description |
|---|---|
| CombineItemAttributedStrings(IUITextPasteConfigurationSupporting, NSAttributedString[], UITextRange) |
Method that is called to combine multiple attributed strings. |
| PerformPaste(IUITextPasteConfigurationSupporting, NSAttributedString, UITextRange) |
Method that is called to incorporate the pasted data into the application content. |
| ShouldAnimatePaste(IUITextPasteConfigurationSupporting, NSAttributedString, UITextRange) |
Returns a Boolean value that tells the system whether to animate the paste operation. |
| TransformPasteItem(IUITextPasteConfigurationSupporting, IUITextPasteItem) |
Method that is called to transform the paste item as it is pasted. |
Extension Methods
| Name | Description |
|---|---|
| GetHandle(INativeObject) | |
| GetNonNullHandle(INativeObject, String) | |
| CombineItemAttributedStrings(IUITextPasteDelegate, IUITextPasteConfigurationSupporting, NSAttributedString[], UITextRange) |
Method that is called to combine multiple attributed strings. |
| PerformPaste(IUITextPasteDelegate, IUITextPasteConfigurationSupporting, NSAttributedString, UITextRange) |
Method that is called to incorporate the pasted data into the application content. |
| ShouldAnimatePaste(IUITextPasteDelegate, IUITextPasteConfigurationSupporting, NSAttributedString, UITextRange) |
Returns a Boolean value that tells the system whether to animate the paste operation. |
| TransformPasteItem(IUITextPasteDelegate, IUITextPasteConfigurationSupporting, IUITextPasteItem) |
Method that is called to transform the paste item as it is pasted. |