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