IDXPopupService.ShowRadioOptionSheet(DXPopupSettings, String, String, DXPopupOptionInfo[]) Method
Opens DXPopupOptionSheet that contains radio buttons. The ShowRadioOptionSheet method returns the 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> ShowRadioOptionSheet(
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 |
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