Method ShowDialogAsync
ShowDialogAsync(Window?, Action<bool>?)
Runs a dialog asynchronously.
public virtual void ShowDialogAsync(Window? owner = null, Action<bool>? onClose = null)
Parameters
ownerWindowA window that will own this window.
onCloseAction<bool>Action to call after dialog is closed.
Remarks
On some platforms dialogs are shown synchronously and application waits until dialog is closed.