IUITextInput.SelectedTextRange Property


The range of a document's selected text.

[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.



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