开发者

True disable of a check box in a DataGridView using DataGridViewCheckboxCell

Does anyone know of a way to disable a checkbox in a DataGridView using a DataGridViewCheckboxCell?

I can make it read only, and set the background color, but I can’t get the checkbox itself to appear disabled. Any thoughts开发者_如何学编程?


Guess you have to paint by yourself. Here is Microsoft's code sample for disabling buttons using the same technology.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜