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

PeekCollectionViewModel<TNavigationToken, TEntity, TPrimaryKey, TUnitOfWork> Class

A POCO view model exposing a read-only collection of entities of a given type. It is designed for quick navigation between collection views.

This is a partial class that provides an extension point to add custom properties, commands and override methods without modifying the auto-generated code.

Namespace: DevExpress.Mvvm.ViewModel

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

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

Declaration

public class PeekCollectionViewModel<TNavigationToken, TEntity, TPrimaryKey, TUnitOfWork> :
    CollectionViewModelBase<TEntity, TEntity, TPrimaryKey, TUnitOfWork>
    where TEntity : class

Type Parameters

Name
TNavigationToken
TEntity
TPrimaryKey
TUnitOfWork

Inheritance

Object
EntitiesViewModelBase<TEntity, TEntity, TUnitOfWork>
ReadOnlyCollectionViewModelBase<TEntity, TEntity, TUnitOfWork>
CollectionViewModelBase<TEntity, TEntity, TPrimaryKey, TUnitOfWork>
PeekCollectionViewModel<TNavigationToken, TEntity, TPrimaryKey, TUnitOfWork>
See Also