Back to Devexpress

TextEditBase.SelectionStart Property

maui-devexpress-dot-maui-dot-editors-dot-texteditbase-7125d0a6.md

latest1.8 KB
Original Source

TextEditBase.SelectionStart Property

Gets a character index at which the selection starts. This is a bindable property.

Namespace : DevExpress.Maui.Editors

Assembly : DevExpress.Maui.Editors.dll

NuGet Package : DevExpress.Maui.Editors

Declaration

csharp
public int SelectionStart { get; set; }

Property Value

TypeDefaultDescription
Int320

The character index.

|

Remarks

Use the following properties to manage the cursor position and text selection:

|

Property

|

Description

| | --- | --- | |

CursorPosition

|

Gets or sets the cursor position. This is a bindable property.

| |

SelectionStart

|

Gets a character index at which the selection starts. This is a bindable property.

| |

SelectionLength

|

Gets the number of selected characters. This is a bindable property.

|

You can also use the SelectAll(), SetSelection(Int32), and SetSelection(Int32, Int32) methods to select text.

See Also

TextEditBase Class

TextEditBase Members

DevExpress.Maui.Editors Namespace