开发者

True disable of a check box in a DataGridView using DataGridViewCheckboxCell

开发者 https://www.devze.com 2022-12-09 06:06 出处:网络
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 appe

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

精彩评论

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