Table of Contents

Method ShowAsync

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

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

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(Window?, Action<bool>?)

Runs a common dialog window asynchroniously.

public void ShowAsync(Window? owner, Action<bool>? onClose)

Parameters

owner Window

A 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 Action

Action 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 Window

A window that will own the dialog.

onAccepted Action

Action 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 Window

A 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.