iOS Guides | Samples

UIKit.UITextPasteDelegate_Extensions Class

Extension methods to the IUITextPasteDelegate interface to support all the methods from the UITextPasteDelegate protocol.

See Also: UITextPasteDelegate_Extensions


public static class UITextPasteDelegate_Extensions


The extension methods for IUITextPasteDelegate allow developers to treat instances of the interface as having all the optional methods of the original UITextPasteDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.


Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions:

The members of UIKit.UITextPasteDelegate_Extensions are listed below.

See Also: Object

Public Methods

CombineItemAttributedStrings(this IUITextPasteDelegate, IUITextPasteConfigurationSupporting, NSAttributedString[], UITextRange) : NSAttributedString
Method that is called to combine multiple attributed strings.
PerformPaste(this IUITextPasteDelegate, IUITextPasteConfigurationSupporting, NSAttributedString, UITextRange) : UITextRange
Method that is called to incorporate the pasted data into the application content.
ShouldAnimatePaste(this IUITextPasteDelegate, IUITextPasteConfigurationSupporting, NSAttributedString, UITextRange) : Boolean
Returns a Boolean value that tells the system whether to animate the paste operation.
TransformPasteItem(this IUITextPasteDelegate, IUITextPasteConfigurationSupporting, IUITextPasteItem)
Method that is called to transform the paste item as it is pasted.