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

DXPopupService.AddTransient<TPopupView, TPopupViewModel>(IServiceCollection) Method

Registers a popup view and its View Model as transient services in the dependency injection container.

Namespace: DevExpress.Maui.Controls

Assembly: DevExpress.Maui.Controls.dll

NuGet Package: DevExpress.Maui.Controls

#Declaration

C#
public static void AddTransient<TPopupView, TPopupViewModel>(
    IServiceCollection services
)
    where TPopupView : DXPopupBase where TPopupViewModel : IDXPopupViewModel

#Parameters

Name Type Description
services IServiceCollection

The collection of services used to register transient services for a popup view and its View Model.

#Type Parameters

Name Description
TPopupView

The popup view type.

TPopupViewModel

The popup View Model type.

See Also