Share via


SurroundingText.SelectionEnd Property

Definition

Returns the text offset of the end of the selection in the surrounding text.

public int SelectionEnd { [Android.Runtime.Register("getSelectionEnd", "()I", "", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getSelectionEnd", "()I", "", ApiSince=31)>]
member this.SelectionEnd : int

Property Value

Attributes

Remarks

Returns the text offset of the end 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.getSelectionEnd().

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