ContentDialog.ShowAsync(CancellationToken) method¶
Defined in
Type: ContentDialog
Namespace: CrissCross.WPF.UI.Controls
Assembly: CrissCross.WPF.UI.dll
Applies to
net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481
public Task<ContentDialogResult> ShowAsync(CancellationToken cancellationToken = default(CancellationToken))
Summary: Shows the dialog.
Parameters
| Name | Type | Description |
|---|---|---|
cancellationToken = null | CancellationToken | The cancellation token. |
Returns: Task
Exceptions
| Type | Condition |
|---|---|
| System.InvalidOperationException | ContentPresenter is not set. |