ViewInjectionManager.Remove(String, Object) Method

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

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v20.1.dll


public virtual void Remove(
    string regionName,
    object key
Public Overridable Sub Remove(
    regionName As String,
    key As Object


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