UITextPasteDelegate.ShouldAnimatePaste 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回布林值,告知系統是否要以動畫顯示貼上作業。
[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
要貼上或卸載字串的範圍。
傳回
- 屬性