Method ShowAsync
ShowAsync(Action<CommonDialog, bool>?)
Runs a common dialog window with a default owner asynchroniously.
public void ShowAsync(Action<CommonDialog, bool>? onClose)
Parameters
onClose
Action<CommonDialog, bool>Action to call after dialog is closed.
Remarks
On some platforms dialogs are shown synchroniously and application waits until dialog is closed.
ShowAsync(Action<bool>?)
Runs a common dialog window with a default owner asynchroniously.
public void ShowAsync(Action<bool>? onClose)
Parameters
Remarks
On some platforms dialogs are shown synchroniously and application waits until dialog is closed.
ShowAsync(Window?, Action<bool>?)
Runs a common dialog window asynchroniously.
public void ShowAsync(Window? owner, Action<bool>? onClose)
Parameters
owner
WindowA window that will own the dialog.
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.
ShowAsync(Action?)
Runs a common dialog window asynchroniously.
public void ShowAsync(Action? onAccepted = null)
Parameters
onAccepted
ActionAction to call after dialog is accepted.
Remarks
On some platforms dialogs are shown synchroniously and application waits until dialog is closed.
ShowAsync(Window?, Action?)
Runs a common dialog window asynchroniously.
public void ShowAsync(Window? owner, Action? onAccepted)
Parameters
owner
WindowA window that will own the dialog.
onAccepted
ActionAction to call after dialog is accepted.
Remarks
On some platforms dialogs are shown synchroniously and application waits until dialog is closed.
ShowAsync(Window?, Action<CommonDialog, bool>?)
Runs a common dialog window with the specified owner asynchroniously.
public virtual void ShowAsync(Window? owner, Action<CommonDialog, bool>? onClose)
Parameters
owner
WindowA window that will own the dialog.
onClose
Action<CommonDialog, bool>Action to call after dialog is closed.
Remarks
On some platforms dialogs are shown synchroniously and application waits until dialog is closed.