Back to Devexpress

DialogEditFormBehavior Properties

wpf-devexpress-dot-xpf-dot-grid-dot-dialogeditformbehavior-dot-underscore-properties.md

latest5.4 KB
Original Source

DialogEditFormBehavior Properties

Allows you to enable edit operations in a Data Grid bound to a Server Mode or Instant Feedback data source.

NameDescription
AllowCancelAsyncOperationsGets or sets whether users can cancel asynchronous “Post Changes” operations.
CanFreezeGets a value that indicates whether the object can be made unmodifiable. Inherited from Freezable.
CreateCommandInvokes the dialog edit form to allow users to add a new row to the control.
CreateEditItemViewModelCommandGets or sets a command that specifies a View Model for the edit operation. The behavior executes this command before the edit form dialog appears.
DeleteCommandDeletes selected rows from the control.
DependencyObjectTypeGets the DependencyObjectType that wraps the CLR type of this instance. Inherited from DependencyObject.
DispatcherGets the Dispatcher this DispatcherObject is associated with. Inherited from DispatcherObject.
EditTemplateGets or sets a template that defines editors in the dialog edit form. Use the CreateEditItemViewModel event or the CreateEditItemViewModelCommand to specify the template’s data context.
HasAnimatedPropertiesGets a value that indicates whether one or more AnimationClock objects is associated with any of this object’s dependency properties. Inherited from Animatable.
IsFrozenGets a value that indicates whether the object is currently modifiable. Inherited from Freezable.
IsSealedGets a value that indicates whether this instance is currently sealed (read-only). Inherited from DependencyObject.
KeyPropertyGets or sets a key field that you can use to find rows during edit operations.
RowDoubleClickCommandExecutes the CreateCommand or UpdateCommand depending on the selected row. This command is designed to allow you to bind it to the TableView.RowDoubleClickCommand / TreeListView.RowDoubleClickCommand.
UpdateCommandInvokes the dialog edit form for the selected row.
ValidateRowCommandGets or sets a command that validates input values, checks database constraints, and saves changes to the database. The behavior executes this command after a user saves changes made in the edit form dialog.
ValidateRowDeletionCommandGets or sets a command that validates data, checks database constrains, and deletes rows. The behavior executes this command when user deletes selected rows.

See Also

DialogEditFormBehavior Class

DialogEditFormBehavior Members

DevExpress.Xpf.Grid Namespace