Back to Devexpress

EditItemViewModel Class

corelibraries-devexpress-dot-mvvm-dot-xpf-5d176f30.md

latest2.4 KB
Original Source

EditItemViewModel Class

A View Model for the edit operation in the DialogEditFormBehavior.

Namespace : DevExpress.Mvvm.Xpf

Assembly : DevExpress.Mvvm.v25.2.dll

NuGet Packages : DevExpress.Mvvm, DevExpress.Win.Navigation

Declaration

csharp
public class EditItemViewModel :
    ViewModelBase,
    IEditItemViewModel,
    IDisposable
vb
Public Class EditItemViewModel
    Inherits ViewModelBase
    Implements IEditItemViewModel,
               IDisposable

Remarks

Before a user invokes the dialog edit form , the DialogEditFormBehavior raises the CreateEditItemViewModel event and executes the CreateEditItemViewModelCommand. Use them the specify a View Model for the edit operation. The View Model includes an item that you want to edit or add to the control, the data context that describes the edit operation, and the dialog edit form ‘s title.

Topic : Implement CRUD Operations in a Data-Bound Grid

Implements

ISupportParentViewModel

ISupportServices

ISupportParameter

Inheritance

Object BindableBase ViewModelBase EditItemViewModel

See Also

EditItemViewModel Members

DevExpress.Mvvm.Xpf Namespace