AccessibilityNodeInfo.TextSelectionStart Property

Definition

Gets the text selection start or the cursor position.

public virtual int TextSelectionStart { [Android.Runtime.Register("getTextSelectionStart", "()I", "GetGetTextSelectionStartHandler")] get; }
[<get: Android.Runtime.Register("getTextSelectionStart", "()I", "GetGetTextSelectionStartHandler")>]
member this.TextSelectionStart : int

Property Value

Int32

The text selection start, the cursor location if there is no selection, or -1 if there is no text selection and no cursor.

Attributes

Remarks

Java documentation for android.view.accessibility.AccessibilityNodeInfo.getTextSelectionStart().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to