WPF DataGrid - Event for New Rows?

前端 未结 7 1920
梦谈多话
梦谈多话 2020-12-06 17:13

I\'m using the WPF DataGrid (.Net 3.5 SP 1 version from the Toolkit)

What event can I subscribe to, to detect when a new row is added?

7条回答
  •  醉梦人生
    2020-12-06 18:02

    I've found the DataGrid_InitializingNewItem event to be helpful where you can examine e.NewItem and take appropriate actions based on its type.

提交回复
热议问题