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

Make the background color of Panels, DatagridViews and Textboxes of a custom workitem in VS automatically follow VS theme changes

$
0
0

HI all,

i have to modify a workitem in our VS so it will automatically change background color whenever the VS theme changes.

In my workItem I have textboxes, datagridview, panels, buttons etc... 

First i wanted to implement the IVsFontAndColorEvents interface but i don`t know which Guid a should consider as reference for any of the workitem components.

Secondly i tried to set a Transparent Background to thoses tools so the background color will be whatever color is under them. But i coulnd`t get the datagrid and texboxex to have a transparent Background even if i tried to create a custom Control inheriting wether from control class or textbox class.

So please any advice will be highly appreciated.

Fab


Viewing all articles
Browse latest Browse all 4410

Trending Articles



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