UITextField.AllowsEditingTextAttributes Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.