Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IDXPopupService.ShowPopup<TPopupViewModel>(Action<TPopupViewModel>) Method

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

Namespace: DevExpress.Maui.Mvvm

Assembly: DevExpress.Maui.Mvvm.dll

NuGet Package: DevExpress.Maui.Mvvm

#Declaration

C#
Task<TPopupViewModel> ShowPopup<TPopupViewModel>(
    Action<TPopupViewModel> init = null
)
    where TPopupViewModel : IDXPopupViewModel

#Optional Parameters

Name Type Default Description
init Action<TPopupViewModel> null

The callback that is called when the View Model is created. The callback initializes the View Model.

#Type Parameters

Name Description
TPopupViewModel

The View Model type.

#Returns

Type Description
Task<TPopupViewModel>

An operation that executes asynchronously, contains the View Model, and completes when the pop-up view closes.

See Also