UIKit.IUITextInput.SelectedTextRange Property
The range of a document's selected text.

Syntax

[Foundation.Preserve(Conditional=true)]
[get: Foundation.Export("selectedTextRange")]
[set: Foundation.Export("setSelectedTextRange:")]
public UITextRange SelectedTextRange { get; set; }

Value

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

Remarks

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

Requirements

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