MessageBox.Avalonia
MessageBox.Avalonia copied to clipboard
Setting focus for input message box
I create input message box to ask user for a string input:
var messageBoxWindow = MessageBox.Avalonia.MessageBoxManager
.GetMessageBoxInputWindow(new MessageBoxInputParams()
{ ContentTitle = "Caption", ContentMessage = "Message", WindowStartupLocation = WindowStartupLocation.CenterOwner });
var result = await messageBoxWindow.ShowDialog(owner);
Is there a way to set focus to the text box in order the user could start typing the string immediately?