3

I have a groupbox on my winform and I'd like to change the color of the caption / title but not use ForeColor as I don't want the text in the groupbox to change.

enter image description here

3

1 Answer 1

2

You could wrap the RadioButton in another Panel which you Dock Fill in the GroupBox. Then set the ForeColor of that Panel to SystemColors.ControlText.

This prevents the ForeColor of the RadioButton to be derived from the GroupBox.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.