Skip to main content

IViewInjectionManager.Remove(String, Object) Method

In This Article

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

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v24.2.dll

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

#Declaration

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