Skip to main content

DXPopupService.AddTransient(IServiceCollection, Type, Type) 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

public static void AddTransient(
    IServiceCollection services,
    Type popupViewType,
    Type popupViewModelType
)

Parameters

Name Type Description
services IServiceCollection

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

popupViewType Type

The popup view type.

popupViewModelType Type

The popup View Model type.

See Also