DetailFormViewModel Members
A View Model for the detail form.Constructors
Name | Description |
---|---|
DetailFormViewModel(Object, Object) | Initializes a new instance of the DetailFormViewModel class with specified settings. |
Properties
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. |
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. |
EditCommand | Gets the command that opens the detail edit form. |
IsAsyncOperationInProgress | Gets whether an asynchronous operation is in progress. Inherited from DetailFormViewModelBase. |
IsDeleted | Gets whether the Delete operation is completed. Inherited from DetailFormViewModelBase. |
Item | Gets the source item data. Inherited from DetailFormViewModelBase. |
UnboundData | Gets the unbound data source. |
Methods
Name | Description |
---|---|
CanClose() | Checks whether the Close operation is available. Inherited from DetailFormViewModelBase. |
CanDelete() | Checks whether the Delete operation is available. Inherited from DetailFormViewModelBase. |
CanEdit(Nullable<Boolean>) | Checks whether the Edit operation is available. |
Close() | Closes the detail edit form. Inherited from DetailFormViewModelBase. |
DeleteAsync() | Asynchronously deletes the item from the data source. Inherited from DetailFormViewModelBase. |
Edit(Nullable<Boolean>) | Opens the detail edit form. |
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. |
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