Skip to main content
A newer version of this page is available. .

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.2.ViewModel.dll

NuGet Packages: DevExpress.Scaffolding.Core, DevExpress.WindowsDesktop.Mvvm.ViewModel

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