Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change forecolor of disable checkbox in winforms

I am working in windows application that has a form.this form contains a group box that has some check-boxes. I have set this group box as disable. Now my problem is the fore-color of check-box text.It becomes light gray as shown in picture below.

enter image description here

How can I change the fore color of check box's text so it do not look like disabled(Light gray).

like image 714
Amit Kumar Avatar asked Jan 20 '14 13:01

Amit Kumar


People also ask

How do I increase the size of a CheckBox in Winforms?

There's an AutoSize option in the Properties windows; if you turn that off by changing it to False , you will be able to modify the size of your CheckBox .

How do I change the color of my winform title bar?

Right-click on the desktop, and select "Personalize". Click on the "Window Color" tile at the bottom of the screen. Choose your new color. If your computer is configured to use the Aero theme, you can choose from one of the standard colors or mix one of your own.

How do I change the color of a form in Windows?

Set the background in the Windows Forms DesignerOpen the project in Visual Studio and select the Panel control. In the Properties window, click the arrow button next to the BackColor property to display a window with three tabs. Select the Custom tab to display a palette of colors.


1 Answers

Don't disable it, just put AutoCheck property = False

like image 137
E_Blue Avatar answered Sep 27 '22 22:09

E_Blue