Share via


UITextField.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、ユーザーはスタイル属性を編集でき、 に貼り付 UITextField けたスタイル付きテキストは特性を保持します。 の場合 false、テキストのスタイル設定はプログラムによる機能だけです。

適用対象