DetailFormViewModel Members
A View Model used to view detail information about a source item in a separate form.Constructors
Name | Description |
---|---|
DetailFormViewModel(Object, Object) | Initializes a new instance of the DetailFormViewModel class with specified settings. |
Properties
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. |
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. |
EditCommand | Gets or sets the command executed when an item is edited. |
IsDeleted | Checks whether the edit item is deleted. Inherited from DetailFormViewModelBase. |
Item | Gets or sets the edited data source item. Inherited from DetailFormViewModelBase. |
UnboundData | Gets the unbound data source. |
Methods
Name | Description |
---|---|
CanClose() | When implemented, checks whether the edit form can be closed. Inherited from DetailFormViewModelBase. |
CanDelete() | When implemented, checks whether the edit item can be deleted from the data source. Inherited from DetailFormViewModelBase. |
CanEdit(Nullable<Boolean>) | When implemented, checks whether source item property values can be edited. |
Close() | When implemented, closes the edit form. Inherited from DetailFormViewModelBase. |
Delete() | When implemented, deletes the source item for which the current edit form is displayed. Inherited from DetailFormViewModelBase. |
Edit(Nullable<Boolean>) | Opens the edit form with the specified animation. |
Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals(Object) | Determines whether the specified object is equal to the current object. Inherited from Object. |
GetHashCode() | Serves as the default hash function. Inherited from Object. |
GetType() | Gets the Type of the current instance. Inherited from Object. |
MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
ToString() | Returns a string that represents the current object. Inherited from Object. |
Events
Name | Description |
---|---|
PropertyChanged | Occurs when a property value changes. Inherited from DetailFormViewModelBase. |
See Also