阅读背景:

你如何阻止DataGridView调用IDataErrorInfo.this [string columnName] get?

来源:互联网 

I have a data object that implements IDataErrorInfo however the validation logic is a bit slow. Not that slow, but slow enough you don't want to call it a large number of times. In my application a list of these objects gets displayed in a DataGridView control. The grid is read-only and will only ever contain valid data objects, however the DataGridView is insisting on calling IDataErrorInfo.this[string columnName] for every cell in the grid which is making repainting very slow.I have a data object that implements IDataError




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: