TextEditBase.SetSelection(Int32) Method
In This Article
Select text from the specified position to the end.
Namespace: DevExpress.XamarinForms.Editors
Assembly: DevExpress.XamarinForms.Editors.dll
NuGet Package: DevExpress.XamarinForms.Editors
#Declaration
C#
public void SetSelection(
int start
)
#Parameters
Name | Type | Description |
---|---|---|
start | Int32 | The zero-based index of the character where the selection starts. |
#Remarks
Use the following properties to manage the cursor position and text selection:
Property | Description |
---|---|
Gets or sets the cursor position. | |
Gets a character index at which the selection starts. | |
Gets the number of selected characters. |
You can also use the SelectAll(), SetSelection(Int32)
, and SetSelection(Int32, Int32) methods to select text.
See Also