編集

次の方法で共有


UITextView.ClearsOnInsertion Property

Definition

Whether inserting new text erases the current contents.

[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 value is false.

Attributes

Remarks

If this value is true and the UITextView is in editing mode, inserting text will replace the existing contents and set this property to false.

Applies to

See also