Bewerken

Share via


DataGrid.InitializingNewItem Event

Definition

Occurs when a new item is created.

public:
 event System::Windows::Controls::InitializingNewItemEventHandler ^ InitializingNewItem;
public event System.Windows.Controls.InitializingNewItemEventHandler InitializingNewItem;
member this.InitializingNewItem : System.Windows.Controls.InitializingNewItemEventHandler 
Public Custom Event InitializingNewItem As InitializingNewItemEventHandler 
Public Event InitializingNewItem As InitializingNewItemEventHandler 

Event Type

Remarks

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

Applies to