changing color of CheckBox
-
I want to change the color of the small box in the checkbox. If I change the backcolor to white, it does not affect the small square inside the checkbox border on which we actually click. Can anyone please tell me how can I change that color ?
-
I want to change the color of the small box in the checkbox. If I change the backcolor to white, it does not affect the small square inside the checkbox border on which we actually click. Can anyone please tell me how can I change that color ?
I dont' believe you can simply by setting a property. You can extend the checkbox by creating a class and inheriting the checkbox. In the OnPaint event you could fill that square in yourself with a different color. However, you'll have to draw the check mark as well.