Skip to main content

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

NuGet Package: DevExpress.Scaffolding.Core

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