ComponentOne DataGrid for WPF and Silverlight
C1.WPF.DataGrid Namespace / C1DataGrid Class / CommittingEdit Event

In This Topic
    CommittingEdit Event
    In This Topic
    Occurs before a cell change is committed.
    Syntax
    'Declaration
     
    
    Public Event CommittingEdit As EventHandler(Of DataGridEndingEditEventArgs)
    public event 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