IViewInjectionService.Remove(Object) Method

Removes the specified ViewModel (and its View) from the collection of the injected items.

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v21.1.dll

Declaration

bool Remove(
    object viewModel
)

Parameters

Name Type Description
viewModel Object

An object representing the ViewModel.

Returns

Type Description
Boolean

true if the item is successfully removed; otherwise, false.

See Also