Skip to main content
ON

DetailEditFormViewModel Properties

A View Model used to edit source item values in a separate form.
Name Description
CloseCommand Returns the command that closes the edit form. Inherited from DetailFormViewModelBase.
CloseOnDelete Gets or sets whether to close the edit form when the edit item is deleted from the data source. Inherited from DetailFormViewModelBase.
CloseOnSave Gets or sets whether to close the edit form when the edit item value changes are saved to the source.
Context Gets or sets the object that contains the properties you can use as binding targets. Inherited from DetailFormViewModelBase.
DataControl Returns the data control (DataGridView or DXCollectionView) for whose item the edit form is invoked. Inherited from DetailFormViewModelBase.
DataControlContext Returns the data control‘s binding context. Inherited from DetailFormViewModelBase.
DeleteCommand Returns the command that deletes the edit item. Inherited from DetailFormViewModelBase.
IsDeleted Checks whether the edit item is deleted. Inherited from DetailFormViewModelBase.
IsNew Returns whether the edit item is newly created.
IsSaved Checks whether the edit item is successfully saved to the data source.
Item Gets or sets the edited data source item. Inherited from DetailFormViewModelBase.
SaveCommand Returns the command that saves the edit item to the bound data source.
See Also