Edit

Share via


UITextView.SelectedRange Property

Definition

This property returns the range of text that is selected.

public virtual Foundation.NSRange SelectedRange { [Foundation.Export("selectedRange")] get; [Foundation.Export("setSelectedRange:")] set; }
member this.SelectedRange : Foundation.NSRange with get, set

Property Value

Attributes

Remarks

This property can have three possible values:

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

Applies to

See also