Back to Devexpress

HtmlEdit.SetSelectionRangeAsync(Int32, Int32) Method

maui-devexpress-dot-maui-dot-htmleditor-dot-htmledit-dot-setselectionrangeasync-x28-system-dot-int32-system-dot-int32-x29.md

latest1.3 KB
Original Source

HtmlEdit.SetSelectionRangeAsync(Int32, Int32) Method

Asynchronously selects HTML markup with the specified start character index and selection length settings.

Namespace : DevExpress.Maui.HtmlEditor

Assembly : DevExpress.Maui.HtmlEditor.dll

NuGet Package : DevExpress.Maui.HtmlEditor

Declaration

csharp
public Task SetSelectionRangeAsync(
    int start,
    int length
)

Parameters

NameTypeDescription
startInt32

A zero-based index of the character after which the caret is placed or the selection begins

| | length | Int32 |

The selection length, in characters. If Length is null, the caret is displayed.

|

Returns

TypeDescription
Task

A task that allows you to wait for the operation.

|

See Also

HtmlEdit Class

HtmlEdit Members

DevExpress.Maui.HtmlEditor Namespace