共用方式為


UITextView.AllowsEditingTextAttributes 屬性

定義

應用程式使用者是否可以變更文字的樣式。

[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 ,應用程式使用者可以變更目前選取文字的樣式。

適用於

另請參閱