Back to Devexpress

DevExpress.Mvvm.ViewModel Namespace

corelibraries-devexpress-dot-mvvm-581710e8.md

latest6.4 KB
Original Source

DevExpress.Mvvm.ViewModel Namespace

Contains classes that define View Models for the MVVM pattern.

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

NuGet Package : DevExpress.Scaffolding.Core

Classes

NameDescription
CloseAllMessageA message notifying that all view models should close itself. Usually sent by DocumentsViewModel<TModule, TUnitOfWork> when the CloseAll command is executed.
CollectionViewModelBase<TEntity, TProjection, TPrimaryKey, TUnitOfWork>

The base class for POCO view models exposing a collection of entities of a given type and CRUD operations against these entities.

It is not recommended to inherit directly from this class. Use the CollectionViewModel class instead.

| | DocumentManagerServiceExtensions static | Provides the extension methods that are used to implement the IDocumentManagerService interface. | | DocumentsViewModel<TModule, TUnitOfWork> | The base class for POCO view models that operate the collection of documents. | | EntitiesViewModelBase<TEntity, TProjection, TUnitOfWork> |

The base class for a POCO view models exposing a collection of entities of the given type.

It is not recommended to inherit directly from this class. Use the EntitiesViewModel class instead.

| | EntityMessage<TEntity, TPrimaryKey> | Provides the information about an entity state change notification that is shown when an entity has been added, removed or modified, and the IUnitOfWork.SaveChanges method has been called. | | InstantFeedbackCollectionViewModel<TEntity, TProjection, TPrimaryKey, TUnitOfWork> | | | InstantFeedbackCollectionViewModelBase<TEntity, TProjection, TPrimaryKey, TUnitOfWork> | | | InstantFeedbackCollectionViewModelBase<TEntity, TProjection, TPrimaryKey, TUnitOfWork>.InstantFeedbackSourceViewModel | | | LookUpEntitiesViewModel<TEntity, TProjection, TPrimaryKey, TUnitOfWork> |

Represents a POCO view models used by SingleObjectViewModel to exposing collections of related entities.

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

| | ModuleDescription<TModule> | A base class representing a navigation list entry. | | NavigateMessage<TNavigationToken> | Used by the PeekCollectionViewModel<TNavigationToken, TEntity, TPrimaryKey, TUnitOfWork> to notify that DocumentsViewModel<TModule, TUnitOfWork> should navigate to the specified module. | | PeekCollectionViewModel<TNavigationToken, TEntity, TPrimaryKey, TUnitOfWork> |

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.

| | PersistentLayoutHelper | | | ReadOnlyCollectionViewModelBase<TEntity, TProjection, TUnitOfWork> |

The base class for POCO view models exposing a read-only collection of entities of a given type.

It is not recommended to inherit directly from this class. Use the ReadOnlyCollectionViewModel class instead.

| | SaveAllMessage | A message notifying that all view models should save changes. Usually sent by DocumentsViewModel<TModule, TUnitOfWork> when the SaveAll command is executed. | | SelectDetailEntitiesViewModel<TEntity> | | | SingleObjectViewModelBase<TEntity, TPrimaryKey, TUnitOfWork> |

The base class for POCO view models exposing a single entity of a given type and CRUD operations against this entity.

It is not recommended to inherit directly from this class. Use the SingleObjectViewModel class instead.

| | SingleObjectViewModelState | |

Interfaces

NameDescription
IEntitiesViewModel<TEntity>The base interface for view models exposing a collection of entities of the given type.
ISingleObjectViewModel<TEntity, TPrimaryKey>The base interface for view models representing a single entity.

Enums

NameDescription
EntityMessageTypeRepresents the type of an entity state change notification that is shown when the IUnitOfWork.SaveChanges method has been called.
NavigationPaneVisibilityRepresents a navigation pane state.