WPF DataGrid - Event for New Rows?

前端 未结 7 1926
梦谈多话
梦谈多话 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 17:56

    Unlike AddingNewItem, DataGrid.LoadingRow Event (available since .Net 4.0) will be fired for items added through ItemSource binding.

提交回复
热议问题