Skip to main content
ON

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DetailEditFormViewModel Members

A View Model for the detail edit form.

#Constructors

Name Description
DetailEditFormViewModel(Object, Boolean, Object) Initializes a new instance of the DetailEditFormViewModel class with specified settings.

#Properties
Show Inherited Hide Inherited

Name Description
CloseCommand Gets the command that closes the edit form. Inherited from DetailFormViewModelBase.
CloseOnDelete Gets or sets whether to close the detail edit form when the Delete operation is completed. This is a bindable property. Inherited from DetailFormViewModelBase.
CloseOnSave Gets or sets whether to close the detail edit form when the Save Changes operation is completed. This is a bindable property.
Context Gets the object that contains properties used as binding targets. Inherited from DetailFormViewModelBase.
DataControl Gets the data control ( DataGridView or DXCollectionView ) associated with the detail form. Inherited from DetailFormViewModelBase.
DataControlContext Gets the data control‘s binding context. Inherited from DetailFormViewModelBase.
DeleteCommand Gets the command that deletes the item from the data source. Inherited from DetailFormViewModelBase.
IsAsyncOperationInProgress Gets whether an asynchronous operation is in progress. Inherited from DetailFormViewModelBase.
IsDeleted Gets whether the Delete operation is completed. Inherited from DetailFormViewModelBase.
IsNew Gets whether the edited item is new.
IsSaved Checks whether the Save Changes operation is completed.
Item Gets the source item data. Inherited from DetailFormViewModelBase.
SaveCommand Gets the command that saves the edited item to the bound data source.

#Methods
Show Inherited Hide Inherited

Name Description
CanClose() Checks whether the Close operation is available. Inherited from DetailFormViewModelBase.
CanDelete() Checks whether the Delete operation is available. Inherited from DetailFormViewModelBase.
CanSave() Checks whether the Save Changes operation is available.
Close() Closes the detail edit form.
DeleteAsync() Asynchronously deletes the item from the data source. Inherited from DetailFormViewModelBase.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from System.Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from System.Object.
GetHashCode() Serves as the default hash function. Inherited from System.Object.
GetType() Gets the Type of the current instance. Inherited from System.Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from System.Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from System.Object.
ReloadItem(Object) Populates the source item with new data. Inherited from DetailFormViewModelBase.
SaveAsync() Asynchronously saves the edited item to the data source.
SetDeleted() Sets the IsDeleted property to true. Inherited from DetailFormViewModelBase.
ToString() Returns a string that represents the current object. Inherited from System.Object.
See Also