WindowShowDialogTResult(Window) Method
Shows the window as a dialog.
Namespace: Avalonia.ControlsAssembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public Task<TResult> ShowDialog<TResult>(
Window owner
)
Public Function ShowDialog(Of TResult) (
owner As Window
) As Task(Of TResult)
member ShowDialog :
owner : Window -> Task<'TResult>
- owner Window
- The dialog's owner window.
- TResult
-
The type of the result produced by the dialog.
TaskTResult.
A task that can be used to retrieve the result of the dialog when it closes.