views:

479

answers:

1

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?

+1  A: 

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

Sheng Jiang 蒋晟