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