SurroundingText.SelectionStart 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.
Returns the text offset of the start of the selection in the surrounding text.
public int SelectionStart { [Android.Runtime.Register("getSelectionStart", "()I", "", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getSelectionStart", "()I", "", ApiSince=31)>]
member this.SelectionStart : int
Property Value
- Attributes
Remarks
Returns the text offset of the start of the selection in the surrounding text.
A selection is the current range of the text that is selected by the user, or the current position of the cursor. A cursor is a selection where the start and end are at the same offset.
Java documentation for android.view.inputmethod.SurroundingText.getSelectionStart()
.
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.