How to change forecolor disable checkbox in winforms

I work in a windows application that has a form. This form contains a group box with some checkboxes. I set this group mailbox as disabled. Now my problem is the front color of the text in the block. It turns light gray as shown in the image below.

enter image description here

How can I change the front color of the checkbox text so that it does not appear to be disabled (light gray).

+4
source share
2 answers

Do not disable it, just set the AutoCheck = False property

+8
source

CheckBox ( -), , Enabled, .

- CheckBox 'es, :

  • GroupBox ( - , );
    • CheckBox 'es ( ): AutoCheck false, Checked OnCheckedChanged;
  • GroupBox ( hacky ^^):
    • , GroupBox ;
  • GroupBox
  • GroupBox
0

All Articles