Skip to main content
A newer version of this page is available. .

ViewInjectionManager.Inject(String, Object, Func<Object>, String, Type) Method

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v20.2.dll

NuGet Packages: DevExpress.Mvvm, DevExpress.Uwp.Controls, DevExpress.WindowsDesktop.Mvvm

Declaration

public virtual void Inject(
    string regionName,
    object key,
    Func<object> viewModelFactory,
    string viewName,
    Type viewType
)

Parameters

Name Type
regionName String
key Object
viewModelFactory Func<Object>
viewName String
viewType Type
See Also