CommitEdit Command
The CommitEdit
command provides an entry point just before the editing is committed.
Execution Parameter
The execution parameter is of type EditContext
that exposes the following properties:
-
CellInfo
—Gets the cell information associated with the operation. -
TriggerAction
—Gets theSourceTriggerAction
value that triggered the operation. -
Parameter
—Gets an optional parameter holding additional information associated with the operation.
Custom CommitEdit Command
The following examples show how to create a class that inherits from the DataGridCommand
and add it to the Commands
collection.