UIKit.UITextView.SelectedTextRange Property
This property returns the range of text that is selected.

Syntax

[get: Foundation.Export("selectedTextRange")]
[set: Foundation.Export("setSelectedTextRange:")]
public virtual UITextRange SelectedTextRange { get; set; }

Value

Remarks

This property can have three possible values:

  • null: There is no current selection
  • A zero length UIKit.UITextRange: This indicates the insertion point
  • A UIKit.UITextRange of length > 0:This indicates the currently selected text.

Requirements

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