Skip to content

ContentDialogServiceExtensions.ShowSimpleDialogAsync(IContentDialogService, SimpleContentDialogCreateOptions, CancellationToken) method

Defined in

Type: ContentDialogServiceExtensions Namespace: CrissCross.WPF.UI.Extensions Assembly: CrissCross.WPF.UI.dll

Applies to

net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481

public static Task<ContentDialogResult> ShowSimpleDialogAsync(this IContentDialogService dialogService, SimpleContentDialogCreateOptions options, CancellationToken cancellationToken = default(CancellationToken))

Summary: Shows simple dialog.

Parameters

NameTypeDescription
dialogService[IContentDialogService](#The [IContentDialogService](#
options[SimpleContentDialogCreateOptions](#Set of parameters of the basic dialog box.
cancellationToken = nullCancellationTokenThe cancellation token.

Returns: Task -- Result of the life cycle of the ContentDialog.