IViewInjectionService.GetKey(Object) Method

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

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v21.1.dll

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