Closed
Description
Is your feature request related to a problem? Please describe.
in WPF, TextBox text selection remains opon lost focus, while in Avalonia text selection is cleared.
in WPF there is a SelectionChanged event.
Describe the solution you'd like
- There should be a property
ClearSelectionOnLostFocus
, by default false, and allows user to keep the selected text. - Add SelectionChanged event
Describe alternatives you've considered
Additional context
In WPF, TextBox selection is kept on lostfocus by default. Although visually it's not, it is selected in fact. There is a property IsInactiveSelectionHighlightEnabled
, which controls the visual of selected text. If this is set to true, selected text will be grayed.