IUITextInput.SelectedTextRange Property

Definition

The range of a document's selected text.

[Foundation.Preserve(Conditional=true)]
[get: Foundation.Export("selectedTextRange", ObjCRuntime.ArgumentSemantic.Copy)]
[set: Foundation.Export("setSelectedTextRange:", ObjCRuntime.ArgumentSemantic.Copy)]
public UIKit.UITextRange SelectedTextRange { get; set; }
member this.SelectedTextRange : UIKit.UITextRange with get, set

Property Value

If there is no current specified selection, then it is set to null.

Attributes

Remarks

If the specified range has length, it specifies currently selected text; if zero length, it specifies only the caret at the insertion point.

Applies to