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.v21.1.ViewModel.dll

Declaration

public bool CanNavigate(
    TEntity projectionEntity
)

Parameters

Name Type Description
projectionEntity TEntity

An entity to select in the collection view.

Returns

Type
Boolean
See Also