Window.

ShowDialog(Window) Method

Summary

Shows the window as a dialog.
Namespace
Avalonia.Controls
Containing Type
Window

Syntax

public Task ShowDialog(Window owner)

Parameters

Name Type Description
owner Window The dialog's owner window.

Return Value

Type Description
Task A task that can be used to track the lifetime of the dialog.