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

In This Topic
    CommittingRowEdit Event
    In This Topic
    Occurs before a row editing is committed. A row editing is committed when a cell of the row has been previously edited and the current cell is changed to a cell which does not belong to the edited row.
    Syntax
    'Declaration
     
    
    Public Event CommittingRowEdit As EventHandler(Of DataGridEditingRowEventArgs)
    public event EventHandler<DataGridEditingRowEventArgs> CommittingRowEdit
    Event Data

    The event handler receives an argument of type DataGridEditingRowEventArgs containing data related to this event. The following DataGridEditingRowEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets or sets a value indicating whether this DataGridEditingRowEventArgs is canceled.  
    Gets the row. (Inherited from C1.WPF.DataGrid.DataGridRowEventArgs)
    Remarks
    You can cancel the event setting DataGridEditingRowEventArgs.Cancel to true.
    See Also