Upravit

Sdílet prostřednictvím


UITextField.AllowsEditingTextAttributes Property

Definition

Whether text entered or pasted can change the attributes of the content.

[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

Property Value

The default value is false.

Attributes

Remarks

If true, the user can edit style attributes and styled text that is pasted into the UITextField will retain characteristics. If false, text styling is solely a programmatic feature.

Applies to