CommittingNewItem Event
See Also 
Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DataGridCollectionViewBase Class : CommittingNewItem Event

Raised when the CommitNew method has been called to signal that a new item is about to be committed to the underlying data source.

Syntax

Visual Basic (Declaration) 
Public Event CommittingNewItem() As EventHandler(Of DataGridCommittingNewItemEventArgs)
C# 
public event EventHandler<DataGridCommittingNewItemEventArgs> CommittingNewItem()

Notes

Manually handling the insertion of new items requires that the CreatingNewItem, CommitingNewItem, and CancelingNewItem events must all be handled otherwise an InvalidOperationException will be thrown.

The new item should be added to the underlying data source in the CommitingNewItem event rather than the CreatingNewItem event.

Requirements

Supported Frameworks: Microsoft .NET Framework version 3.5

See Also