'Declaration
Public Event CommittingEdit As System.EventHandler(Of DataGridEndingEditEventArgs)
public event System.EventHandler<DataGridEndingEditEventArgs> CommittingEdit
Event Data
The event handler receives an argument of type DataGridEndingEditEventArgs containing data related to this event. The following DataGridEndingEditEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | Gets or sets a value indicating whether the event is canceled. |
Column | Gets the column corresponding to the editing cell. |
EditingElement | Gets the editing System.Windows.FrameworkElement. |
Row | Gets the row corresponding to the editing cell. |
Remarks
This event typically occurs when the user press enter or tab in an editing cell. You can cancel the event setting DataGridEndingEditEventArgs.Cancel to true.
See Also