DataGrid::InitializingNewItem Event

.NET Framework (current version)
 

Occurs when a new item is created.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public:
event InitializingNewItemEventHandler^ InitializingNewItem {
	void add(InitializingNewItemEventHandler^ value);
	void remove(InitializingNewItemEventHandler^ value);
}

This event enables event handler to initialize the new item with custom default values.

.NET Framework
Available since 4.0
Return to top
Show: