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

How to set foreground and background properties for textbox and grid to work with the dark theme

$
0
0

Hi,

I have created a custom tool window that has label, textbox and grid controls. I bind the foreground to VsBrushes.ToolWindowTextKey of the label control.  Foreground="{DynamicResource {x:Staticvsfx:VsBrushes.ToolWindowTextKey}}" It works well with the dark theme.

What VsBrushes key can be used for background property of a textbox control?

And what keys are good for the grid header, selected row of a grid control?

Thanks,


Viewing all articles
Browse latest Browse all 4410

Trending Articles



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