Your WPF input controls have a SelectionOnFocus enum that describes the behavior when a user gives focus to one of those controls. Can that functionality be added to RadEntry in MAUI?
In addition, as a workaround, I tried adding this code to a RadEntry's Focused event to try to select all text:
private void OnEntryFocused(object sender, FocusEventArgs e)
{
if (sender is RadEntry entry && !string.IsNullOrEmpty(entry.Text))
{
entry.CursorPosition = 0;
entry.SelectionLength = entry.Text.Length;
}
}
With this code, the first time I click into the entry, it selects all text as expected, but then when I click out of it and click in again, it doesn't select all text. It just places the caret where I clicked. Then I click out and click back in again and it selects all the text, then the next time, it doesn't work. So it goes back and forth between selecting all text and placing the caret where I clicked.