I would like to have a way to get the theme colour of the users Windows theme with WPF or C# code-behind. And with this colour I mean the one that can be set in Personalization\Window Color and Appearance under Windows 7(and Vista too, I think). I want to use this colour to make a gradient in much the same way as Trillian 5 does it.
I tried to find it myself, but unfortunately I'm not getting anywhere. Apparently it's not under SystemColors.Whatever
. I have found something on the MSDN but I can't figure out how to use it, nor do I think it's what I want.
If anyone could help me I would be grateful.