Back to Devexpress

IDXPopupService.ShowAlert(DXPopupSettings, String, String) Method

maui-devexpress-dot-maui-dot-mvvm-dot-idxpopupservice-dot-showalert-x28-devexpress-dot-maui-dot-mvvm-dot-dxpopupsettings-system-dot-string-system-dot-string-x29.md

latest1.6 KB
Original Source

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

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

Parameters

NameTypeDescription
settingsDXPopupSettings

The settings of the pop-up dialog.

| | ok | String |

The caption of the OK button.

| | cancel | String |

The caption of the Cancel button.

|

Returns

TypeDescription
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

IDXPopupService Interface

IDXPopupService Members

DevExpress.Maui.Mvvm Namespace