'Declaration Public Function New( _ ByVal collectionView As DataGridCollectionViewBase, _ ByVal newItem As Object, _ ByVal cancel As Boolean _ )
'Usage Dim collectionView As DataGridCollectionViewBase Dim newItem As Object Dim cancel As Boolean Dim instance As New DataGridCreatingNewItemEventArgs(collectionView, newItem, cancel)
public DataGridCreatingNewItemEventArgs( DataGridCollectionViewBase collectionView, object newItem, bool cancel )
Parameters
- collectionView
- The DataGridCollectionView to which the item will potentially be added.
- newItem
- The new item to add to the collectionView. Will be a null reference (Nothing in Visual Basic) by default (see Remarks).
- cancel
- true to cancel the creation of the new item; false to let the process continue.