Skip to main content
All docs
V25.1
  • DevExpress v25.1 Update — Your Feedback Matters

    Our What's New in v25.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

    Take the survey Not interested

    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

    C#
    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