Edit

Share via


IUITextInput.SelectedTextRange Property

Definition

The range of a document's selected text.

[Foundation.Preserve(Conditional=true)]
public UIKit.UITextRange SelectedTextRange { [Foundation.Export("selectedTextRange", ObjCRuntime.ArgumentSemantic.Copy)] get; [Foundation.Export("setSelectedTextRange:", ObjCRuntime.ArgumentSemantic.Copy)] 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