Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Change Control Colors in Wpf ToolWindow

$
0
0

Hi there,

what should I do when I want to change the colors of my controls in a Wpf ToolWindow in dependency of the Visual Studio theme (dark, light)?

Example for Label:

- Dark Background in Visual Studio theme -> White Foreground

- Light Background in Visual Studio theme -> Dark Foreground

Is there any API which I could use?

Thank you!


Gruß, Mathias --- MCP


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>