Skip to main content

IDXPopupService.ShowPopup<TPopupViewModel>(TPopupViewModel) Method

Shows the custom pop-up view registered in IDXPopupService through the AddTransientDXPopup method. The ShowPopup method returns Task that completes when the pop-up view closes.

Namespace: DevExpress.Maui.Mvvm

Assembly: DevExpress.Maui.Mvvm.dll

NuGet Package: DevExpress.Maui.Mvvm

Declaration

Task ShowPopup<TPopupViewModel>(
    TPopupViewModel viewModel
)
    where TPopupViewModel : IDXPopupViewModel

Parameters

Name Type Description
viewModel TPopupViewModel

The View Model of the custom pop-up view.

Type Parameters

Name Description
TPopupViewModel

The View Model type.

Returns

Type Description
Task

An operation that executes asynchronously and is completed when the pop-up view closes.

See Also