Skip to main content

SelectionEnd Property

Gets or sets the end position of the text selected in the TextBox

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public int SelectionEnd { get; set; }

Property Value

Int32

Remarks

When the SelectionEnd is equal to SelectionStart, there is no selected text and it marks the caret position

See Also

Reference

TextBox Class
Avalonia.Controls Namespace