Back to Devexpress

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

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

latest2.2 KB
Original Source

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

Shows the DXPopupOptionSheet that contains checkboxes. The ShowCheckBoxOptionSheet method returns Task, which contains DialogResult, and completes when DXPopupOptionSheet closes.

Namespace : DevExpress.Maui.Mvvm

Assembly : DevExpress.Maui.Mvvm.dll

NuGet Package : DevExpress.Maui.Mvvm

Declaration

csharp
public static Task<string[]> ShowCheckBoxOptionSheet(
    this IDXPopupService service,
    DXPopupSettings settings,
    string ok,
    string cancel,
    params string[] optionButtons
)

Parameters

NameTypeDescription
serviceIDXPopupService

The service of the pop-up view.

| | 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 | String[] |

The collection of option buttons.

|

Returns

TypeDescription
Task<String[]>

An operation that executes asynchronously, contains DialogResult, and completes when DXPopupOptionSheet closes.

|

See Also

DXPopupServiceExtensions Class

DXPopupServiceExtensions Members

DevExpress.Maui.Mvvm Namespace