UIKit.UITextView.ClearsOnInsertion Property
Whether inserting new text erases the current contents.

Syntax

[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_6_0)]
[get: Foundation.Export("clearsOnInsertion")]
[get: ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_6_0)]
[set: Foundation.Export("setClearsOnInsertion:")]
[set: ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_6_0)]
public virtual bool ClearsOnInsertion { get; set; }

See Also

UITextView.ScrollRangeToVisible
UITextView.Selectable
UITextView.SelectedRange

Value

The default value is false.

Remarks

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

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0