What is the DataGridView event that is fired when a cell value is changed programmatically? (Not by user edit)

…衆ロ難τιáo~ 提交于 2020-04-16 03:55:32

问题


I have a DataGridView with three columns, start time, end time and duration. When a user edits the start or end time, the duration gets updated programmatically.

I'd like to capture the event that is fired when that duration column gets updated in their respective cell, since I want to do a little visual effect by animating the background colour of that cell, showing it was updated programmatically. My DataGridView is not in virtual mode.

Does an event like that exist?

The CellValueChanged event is only fired on user edit.

来源:https://stackoverflow.com/questions/59533784/what-is-the-datagridview-event-that-is-fired-when-a-cell-value-is-changed-progra

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!