Skip to main content
All docs
V24.2

EditItemViewModel Class

A View Model for the edit operation in the DialogEditFormBehavior.

Namespace: DevExpress.Mvvm.Xpf

Assembly: DevExpress.Mvvm.v24.2.dll

Declaration

public class EditItemViewModel :
    ViewModelBase,
    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

Inheritance

See Also