Skip to main content
DataGridInitializingNewItem Event
 

Occurs when a new item is created.

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

public event InitializingNewItemEventHandler InitializingNewItem
public:
event InitializingNewItemEventHandler^ InitializingNewItem {
	void add(InitializingNewItemEventHandler^ value);
	void remove(InitializingNewItemEventHandler^ value);
}
member InitializingNewItem : IEvent<InitializingNewItemEventHandler,
    InitializingNewItemEventArgs>
Public Event InitializingNewItem As InitializingNewItemEventHandler

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

.NET Framework
Available since 4.0
Return to top