Back to Devexpress

DetailFormViewModelBase Members

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

latest4.5 KB
Original Source

DetailFormViewModelBase Members

A base class for View Model used to create, delete, view, and edit data in a detail form.

Constructors

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

Properties

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

Methods

NameDescription
CanClose()Checks whether the Close operation is available.
CanDelete()Checks whether the Delete operation is available.
Close()Closes the detail edit form.
DeleteAsync()Asynchronously deletes the item from the data source.
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.
SetDeleted()Sets the IsDeleted property to true.
ToString()Returns a string that represents the current object. Inherited from System.Object.

See Also

DetailFormViewModelBase Class

DevExpress.Maui.Core Namespace