IDXPopupService.ShowPopup<TPopupViewModel>(TPopupViewModel) Method
In This Article
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
C#
Task ShowPopup<TPopupViewModel>(
TPopupViewModel viewModel
)
where TPopupViewModel : IDXPopupViewModel
#Parameters
Name | Type | Description |
---|---|---|
view |
TPopup |
The View Model of the custom pop-up view. |
#Type Parameters
Name | Description |
---|---|
TPopup |
The View Model type. |
#Returns
Type | Description |
---|---|
Task | An operation that executes asynchronously and is completed when the pop-up view closes. |
See Also