WPF DataGrid - cell's new value after edit ending

后端 未结 2 2038
伪装坚强ぢ
伪装坚强ぢ 2021-01-17 16:57

In my system I need to capture and send the old and new value of a cell edit. I\'ve read that you can do this by inspecting the EditingElement of the event DataGridCellEditE

2条回答
  •  爱一瞬间的悲伤
    2021-01-17 17:23

    I took the approach of having my row data objects inherit from IEditableObject. I handle the updated value in the EndEdit() interface method

提交回复
热议问题