共用方式為


UITextPasteDelegate.ShouldAnimatePaste 方法

定義

傳回布林值,告知系統是否要以動畫顯示貼上作業。

[Foundation.Export("textPasteConfigurationSupporting:shouldAnimatePasteOfAttributedString:toRange:")]
public virtual bool ShouldAnimatePaste (UIKit.IUITextPasteConfigurationSupporting textPasteConfigurationSupporting, Foundation.NSAttributedString attributedString, UIKit.UITextRange textRange);
abstract member ShouldAnimatePaste : UIKit.IUITextPasteConfigurationSupporting * Foundation.NSAttributedString * UIKit.UITextRange -> bool
override this.ShouldAnimatePaste : UIKit.IUITextPasteConfigurationSupporting * Foundation.NSAttributedString * UIKit.UITextRange -> bool

參數

textPasteConfigurationSupporting
IUITextPasteConfigurationSupporting

接收物件。

attributedString
NSAttributedString

要貼上的字串。

textRange
UITextRange

要貼上或卸載字串的範圍。

傳回

屬性

適用於