The item to add to or removed from the collectionView.
true to cancel the addition or removal of the item; false to let the process continue.
In This Topic
DataGridItemCancelEventArgs Constructor
In This Topic
Initializes a new instance of the DataGridtemCancelEventArgs class specifying the item, the collection view to which it is to be added or removed, and a value indicating whether the process is to be canceled.
The item to add to or removed from the collectionView.
cancel
true to cancel the addition or removal of the item; false to let the process continue.
Requirements
Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2