Skip to main content

IDXPopupService.ShowAlert(DXPopupSettings, String, String) Method

Shows the DXPopupDialog and returns the Task that completes when the DXPopupDialog closes.

Namespace: DevExpress.Maui.Mvvm

Assembly: DevExpress.Maui.Mvvm.dll

NuGet Package: DevExpress.Maui.Mvvm

Declaration

Task<bool> ShowAlert(
    DXPopupSettings settings,
    string ok,
    string cancel
)

Parameters

Name Type Description
settings DXPopupSettings

The settings of the pop-up dialog.

ok String

The caption of the OK button.

cancel String

The caption of the Cancel button.

Returns

Type Description
Task<Boolean>

An operation that executes asynchronously and completes when the DXPopupDialog closes. The Task returns true if a user taps the OK button; otherwise, false.

See Also