ComponentOne DataGrid for WPF and Silverlight
CommittingEdit Event (C1DataGrid)

C1.WPF.DataGrid Namespace > C1DataGrid Class : CommittingEdit Event
Occurs before a cell change is committed.
Syntax
'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.

PropertyDescription
Gets or sets a value indicating whether the event is canceled.  
Gets the column corresponding to the editing cell.  
Gets the editing System.Windows.FrameworkElement.  
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