IContentDialogService.ShowAsync(ContentDialog, CancellationToken) method¶
Defined in
Type: IContentDialogService
Namespace: CrissCross.WPF.UI
Assembly: CrissCross.WPF.UI.dll
Applies to
net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481
Task<ContentDialogResult> ShowAsync(ContentDialog dialog, CancellationToken cancellationToken)
Summary: Asynchronously shows the specified dialog.
Parameters
| Name | Type | Description |
|---|---|---|
dialog | [ContentDialog](# | The dialog to be displayed. |
cancellationToken | CancellationToken | A cancellation token that can be used to cancel the operation. |
Returns: Task