Skip to main content

IViewInjectionService.GetKey(Object) Method

Returns the key of an injected ViewModel (and its View).

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v24.1.dll

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

Declaration

object GetKey(
    object viewModel
)

Parameters

Name Type Description
viewModel Object

An object representing the ViewModel.

Returns

Type Description
Object

An object that specifies the key of the injected ViewModel (and its View).

See Also