阅读背景:

如何阻止DataGridView共享行?

来源:互联网 

I've made a custom DataGridViewCell that displays a custom control instead of the cell; but if the DataGridView uses shared rows, then the custom control instance is also shared, so you get strange behaviour (for example, hovering over buttons highlights all the buttons). Also, I can't access the DataGridViewCell.Selected property, so I don't know what colour to paint the row.I've made a custom DataGridViewCell that displa




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

分享到: