Back to Devexpress

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

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

latest2.0 KB
Original Source

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

Shows the DXPopupActionSheet. The ShowActionSheet method returns the Task that contains DialogResult and completes when DXPopupActionSheet closes.

Namespace : DevExpress.Maui.Mvvm

Assembly : DevExpress.Maui.Mvvm.dll

NuGet Package : DevExpress.Maui.Mvvm

Declaration

csharp
public static Task<string> ShowActionSheet(
    this IDXPopupService service,
    DXPopupSettings settings,
    string cancel,
    params string[] actionButtons
)

Parameters

NameTypeDescription
serviceIDXPopupService

The service of the pop-up view.

| | settings | DXPopupSettings |

The settings of the pop-up view.

| | cancel | String |

The caption of the Cancel button.

| | actionButtons | String[] |

The collection of action buttons.

|

Returns

TypeDescription
Task<String>

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

|

See Also

DXPopupServiceExtensions Class

DXPopupServiceExtensions Members

DevExpress.Maui.Mvvm Namespace