Method ShowAsync
ShowAsync(Action<CommonDialog, bool>?)
Runs a common dialog window with a default owner asynchronously.
public void ShowAsync(Action<CommonDialog, bool>? onClose)
Parameters
onCloseAction<CommonDialog, bool>Action to call after dialog is closed.
Remarks
On some platforms dialogs are shown synchronously and application waits until dialog is closed.
ShowAsync(Action<bool>?)
Runs a common dialog window with a default owner asynchronously.
public void ShowAsync(Action<bool>? onClose)
Parameters
Remarks
On some platforms dialogs are shown synchronously and application waits until dialog is closed.
ShowAsync(Window?, Action<bool>?)
Runs a common dialog window asynchronously.
public void ShowAsync(Window? owner, Action<bool>? onClose)
Parameters
ownerWindowA window that will own the dialog.
onCloseAction<bool>Action to call after dialog is closed.
Remarks
On some platforms dialogs are shown synchronously and application waits until dialog is closed.
ShowAsync(Action?)
Runs a common dialog window asynchronously.
public void ShowAsync(Action? onAccepted = null)
Parameters
onAcceptedActionAction to call after dialog is accepted.
Remarks
On some platforms dialogs are shown synchronously and application waits until dialog is closed.
ShowAsync(Window?, Action?)
Runs a common dialog window asynchronously.
public void ShowAsync(Window? owner, Action? onAccepted)
Parameters
ownerWindowA window that will own the dialog.
onAcceptedActionAction to call after dialog is accepted.
Remarks
On some platforms dialogs are shown synchronously and application waits until dialog is closed.
ShowAsync(Window?, Action<CommonDialog, bool>?)
Runs a common dialog window with the specified owner asynchronously.
public virtual void ShowAsync(Window? owner, Action<CommonDialog, bool>? onClose)
Parameters
ownerWindowA window that will own the dialog.
onCloseAction<CommonDialog, bool>Action to call after dialog is closed.
Remarks
On some platforms dialogs are shown synchronously and application waits until dialog is closed.