Click here to Skip to main content
15,891,316 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In my project, I need to change the style of the checkbox in grid view. I mean change the checkbox color and tick stye. I know this for normal checkbox but how I can do this in a datagridviw checkbox.

What I have tried:

Tried to override DataGridViewCheckBoxColumn etc but no luck
Posted
Updated 26-Jan-17 21:24pm
Comments
Ralf Meier 19-Jan-17 9:54am    
I don't have an example for this ... but you should do the following :
- create your customized checkbox which has the behaviour and the design as you want
- tell the DatGridview to use this control in the specified column

I think, with a little search in the Internet you will find articles which guide you in the right way ...

1 solution

By searching something complete different I found something at this location :
www.codemag.com/article/0707061

It shows how to create a custom ColumnType for the DataGridView.
 
Share this answer
 
v4

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900