Hello,
I hope that someone can help me with this little issue.
I would like to change the color of a GroupBox Header back to the applied theme's default color.
I prgrammatically changed the border color with the following code to red to show an invalid user input (a kind of validation).
DirectCast(.rgrb_CountryOfOrigin.GroupBoxElement.Children(1).Children(1), BorderPrimitive).ForeColor = Color.Red
When the input is corrected the color should change back to its default value. Actually I use the desert theme.
Is there a possibillity to get a default color value for the assigned theme for the chosen control (eg GroupBox)?
If not, where can I find the theme values like colors etc?
Any help is appreciated.
Cheers Roberto