Back to Devexpress

IDXPopupService.ShowCheckBoxOptionSheet(DXPopupSettings, String, String, DXPopupOptionInfo[]) Method

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

latest2.5 KB
Original Source

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

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

Parameters

NameTypeDescription
settingsDXPopupSettings

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

TypeDescription
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

IDXPopupService Interface

IDXPopupService Members

DevExpress.Maui.Mvvm Namespace