Skip to main content

ViewInjectionManager.Remove(String, Object) Method

Removes the ViewModel (and its View) from the specified region.

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v24.1.dll

NuGet Packages: DevExpress.Mvvm, DevExpress.Win.Navigation

Declaration

public virtual void Remove(
    string regionName,
    object key
)

Parameters

Name Type Description
regionName String

A System.String value specifying the region name.

key Object

An object specifying the identifier (key) of the View and its ViewModel.

See Also