ServiceCollectionExtensions.AddTransientDXPopup<TPopupView, TPopupViewModel>(IServiceCollection) Method
Registers a transient service for a popup view and its View Model in the specified IServiceCollection. The method binds a popup view to its View Model.
Namespace: DevExpress.Maui
Assembly: DevExpress.Maui.Controls.dll
NuGet Package: DevExpress.Maui.Controls
Declaration
public static IServiceCollection AddTransientDXPopup<TPopupView, TPopupViewModel>(
this IServiceCollection services
)
where TPopupView : DXPopupBase where TPopupViewModel : IDXPopupViewModel
Parameters
| Name | Type | Description |
|---|---|---|
| services | IServiceCollection | The |
Type Parameters
| Name | Description |
|---|---|
| TPopupView | The popup view type. |
| TPopupViewModel | The popup View Model type. |
Returns
| Type | Description |
|---|---|
| IServiceCollection | The |
See Also