AccessibilityNodeInfo.TextSelectionStart Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Gets the text selection start or the cursor position.
If no text is selected, both this method and AccessibilityNodeInfo#getTextSelectionEnd()
return the same value: the current location of the cursor.
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.