Table of Contents

Method ShowDialogAsync

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

ShowDialogAsync(Window?, Action<bool>?)

Runs a dialog asynchroniously.

public virtual void ShowDialogAsync(Window? owner = null, Action<bool>? onClose = null)

Parameters

owner Window

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