Back to Devexpress

DetailEditFormViewModel Members

maui-devexpress-dot-maui-dot-core-dot-detaileditformviewmodel-dot-underscore-members.md

latest6.6 KB
Original Source

DetailEditFormViewModel Members

A View Model for the detail edit form.

Constructors

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

Properties

NameDescription
CloseCommandGets the command that closes the edit form. Inherited from DetailFormViewModelBase.
CloseOnDeleteGets or sets whether to close the detail edit form when the Delete operation is completed. This is a bindable property. Inherited from DetailFormViewModelBase.
CloseOnSaveGets or sets whether to close the detail edit form when the Save Changes operation is completed. This is a bindable property.
ContextGets the object that contains properties used as binding targets. Inherited from DetailFormViewModelBase.
DataControlGets the data control ( DataGridView or DXCollectionView ) associated with the detail form. Inherited from DetailFormViewModelBase.
DataControlContextGets the data control‘s binding context. Inherited from DetailFormViewModelBase.
DeleteCommandGets the command that deletes the item from the data source. Inherited from DetailFormViewModelBase.
IsAsyncOperationInProgressGets whether an asynchronous operation is in progress. Inherited from DetailFormViewModelBase.
IsDeletedGets whether the Delete operation is completed. Inherited from DetailFormViewModelBase.
IsNewGets whether the edited item is new.
IsSavedChecks whether the Save Changes operation is completed.
ItemGets the source item data. Inherited from DetailFormViewModelBase.
SaveCommandGets the command that saves the edited item to the bound data source.

Methods

NameDescription
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) staticDetermines 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() protectedCreates a shallow copy of the current Object. Inherited from System.Object.
ReferenceEquals(Object, Object) staticDetermines 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

DetailEditFormViewModel Class

DevExpress.Maui.Core Namespace