IViewInjectionService.Remove(Object) Method
Removes the specified ViewModel (and its View) from the collection of the injected items.
Namespace: DevExpress.Mvvm
Assembly: DevExpress.Mvvm.v25.1.dll
NuGet Packages: DevExpress.Mvvm, DevExpress.Win.Navigation
Declaration
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