UITextView.AllowsEditingTextAttributes 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
應用程式使用者是否可以變更文字的樣式。
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool AllowsEditingTextAttributes { [Foundation.Export("allowsEditingTextAttributes")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)] get; [Foundation.Export("setAllowsEditingTextAttributes:")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)] set; }
member this.AllowsEditingTextAttributes : bool with get, set
屬性值
預設值是 false
。
- 屬性
備註
當 為 時 true
,應用程式使用者可以變更目前選取文字的樣式。
適用於
另請參閱
- AttributedText
- DataDetectorTypes
- Editable
- Font
- Text
- TextAlignment
- <xref:UIKit.UITextView.TextContainerInsert>
- TextColor
- TypingAttributes