Is there anyway I can get a defined resource from a theme?
I'd like to set the background color of my stackPanel to the same color as the header background of the tab control, or the background of the docking control. But I'm not sure where these resources are defined so I can use them. I'd prefer to use the defined resource rather than digging into the theme xaml and using the same hard-coded value. Because I'd like to be able to change the theme in the future without having to change all these hard-coded values.
I'd like to set the background color of my stackPanel to the same color as the header background of the tab control, or the background of the docking control. But I'm not sure where these resources are defined so I can use them. I'd prefer to use the defined resource rather than digging into the theme xaml and using the same hard-coded value. Because I'd like to be able to change the theme in the future without having to change all these hard-coded values.