Share via


IUITextPasteDelegate.ShouldAnimatePaste Method

Definition

Returns a Boolean value that tells the system whether to animate the paste operation.

[Foundation.Export("textPasteConfigurationSupporting:shouldAnimatePasteOfAttributedString:toRange:")]
[Foundation.OptionalMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool ShouldAnimatePaste(UIKit.IUITextPasteConfigurationSupporting textPasteConfigurationSupporting, Foundation.NSAttributedString attributedString, UIKit.UITextRange textRange);
[<Foundation.Export("textPasteConfigurationSupporting:shouldAnimatePasteOfAttributedString:toRange:")>]
[<Foundation.OptionalMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ShouldAnimatePaste : UIKit.IUITextPasteConfigurationSupporting * Foundation.NSAttributedString * UIKit.UITextRange -> bool
override this.ShouldAnimatePaste : UIKit.IUITextPasteConfigurationSupporting * Foundation.NSAttributedString * UIKit.UITextRange -> bool

Parameters

textPasteConfigurationSupporting
IUITextPasteConfigurationSupporting

The receiving object.

attributedString
NSAttributedString

The string to paste.

textRange
UITextRange

The range in which to paste or drop the string.

Returns

Attributes

Applies to