Skip to main content
All docs
V25.1
  • IDXPopupService.ShowCheckBoxOptionSheet(DXPopupSettings, String, String, DXPopupOptionInfo[]) Method

    Opens DXPopupOptionSheet that contains checkboxes. The ShowCheckBoxOptionSheet method returns Task, which contains a dialog result, and completes when DXPopupOptionSheet closes.

    Namespace: DevExpress.Maui.Mvvm

    Assembly: DevExpress.Maui.Mvvm.dll

    NuGet Package: DevExpress.Maui.Mvvm

    Declaration

    Task<string[]> ShowCheckBoxOptionSheet(
        DXPopupSettings settings,
        string ok,
        string cancel,
        params DXPopupOptionInfo[] optionButtons
    )

    Parameters

    Name Type Description
    settings DXPopupSettings

    The settings of the pop-up view.

    ok String

    The caption of the OK button.

    cancel String

    The caption of the Cancel button.

    optionButtons DXPopupOptionInfo[]

    The collection of option buttons.

    Returns

    Type Description
    Task<String[]>

    An operation that executes asynchronously, contains a dialog result, and completes when DXPopupOptionSheet closes.

    Remarks

    The dialog result can contain one of the following values:

    • An array of selected options (if a user taps the OK button to close the pop-up option sheet).
    • An array that contains the Cancel button caption (if a user taps the Cancel button to close the pop-up option sheet).
    • Null, if a user taps the scrim to close the pop-up option sheet.
    • The parameter passed to the Close(String[]) method (if you close the pop-up option sheet in code).
    See Also