UITextView.ClearsOnInsertion 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 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
- <xref:UIKit.UITextView.ScrollRangeToVisible>
- Selectable
- SelectedRange