PeekCollectionViewModel<TNavigationToken, TEntity, TPrimaryKey, TUnitOfWork>.CanNavigate(TEntity) Method

Determines if a navigation to corresponding collection view can be performed. Since PeekCollectionViewModel is a POCO view model, this method will be used as a CanExecute callback for NavigateCommand.

Namespace: DevExpress.Mvvm.ViewModel

Assembly: DevExpress.Mvvm.v20.1.ViewModel.dll

Declaration

public bool CanNavigate(
    TEntity projectionEntity
)
Public Function CanNavigate(
    projectionEntity As TEntity
) As Boolean

Parameters

Name Type Description
projectionEntity TEntity

An entity to select in the collection view.

Returns

Type
Boolean
See Also