Open
Description
After I upgraded from Avalonia 10 to 11, I found that in the new IMsBox<T>
interface, the non-modal method Task<T> ShowWindowAsync()
does not support specifying a parent control, whereas the other two methods that do support specifying a parent control are both modal dialogs. I want my multi-window application to display a non-modal dialog in front of a specific window. How can I achieve this?
namespace MsBox.Avalonia.Base
{
public interface IMsBox<T>
{
Task<T> ShowAsync();
Task<T> ShowWindowAsync();
Task<T> ShowWindowDialogAsync(Window owner);
Task<T> ShowAsPopupAsync(ContentControl owner);
Task<T> ShowAsPopupAsync(Window owner);
string InputValue { get; }
}
}
Metadata
Metadata
Assignees
Labels
No labels