IDXPopupService.ShowActionSheet(DXPopupSettings, String, DXPopupActionInfo[]) Method
Opens DXPopupActionSheet. The ShowActionSheet
method returns Task, which contains a dialog result, and completes when DXPopupActionSheet
closes.
Namespace: DevExpress.Maui.Mvvm
Assembly: DevExpress.Maui.Mvvm.dll
NuGet Package: DevExpress.Maui.Mvvm
Declaration
Task<string> ShowActionSheet(
DXPopupSettings settings,
string cancel,
params DXPopupActionInfo[] actionButtons
)
Parameters
Name | Type | Description |
---|---|---|
settings | DXPopupSettings | The settings of the pop-up view. |
cancel | String | The caption of the Cancel button. |
actionButtons | DXPopupActionInfo[] | The collection of action buttons. |
Returns
Type | Description |
---|---|
Task<String> | An operation that executes asynchronously, contains a dialog result, and completes when the |
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