Edit

Share via


UITextField.ClearsOnInsertion Property

Definition

Whether a paste operation should replace existing content.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool ClearsOnInsertion { [Foundation.Export("clearsOnInsertion")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)] get; [Foundation.Export("setClearsOnInsertion:")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)] set; }
member this.ClearsOnInsertion : bool with get, set

Property Value

The default is false.

Attributes

Remarks

If true, the selection UI is hidden and a post operation replaces the existing content.

Applies to