I need to change the group box text to a specific color without changing the color of what is inside the group box.
The following code sets the ForeColor
of the GroupBox
to pink but this settings cascades to all the child controls as well:
groupbox.ForeColor = Color.Pink
How do I change the ForeColor
of a GroupBox
without having that color applied to every child control as well?