DataGrid.AddingNewItem 事件

定义

在将项添加到 DataGrid 前发生。

public:
 event EventHandler<System::Windows::Controls::AddingNewItemEventArgs ^> ^ AddingNewItem;
public event EventHandler<System.Windows.Controls.AddingNewItemEventArgs> AddingNewItem;
member this.AddingNewItem : EventHandler<System.Windows.Controls.AddingNewItemEventArgs> 
Public Custom Event AddingNewItem As EventHandler(Of AddingNewItemEventArgs) 
Public Event AddingNewItem As EventHandler(Of AddingNewItemEventArgs) 

事件类型

EventHandler<AddingNewItemEventArgs>

适用于