简体   繁体   English

在加载项中使用Visual Studio主题

[英]Utilise Visual Studio Theme in Add-In

Is it possible to utilise the current Visual Studio theme within an Add-In? 是否可以在加载项中利用当前的Visual Studio主题? I'm using Visual Studio 2010 and want to use the dark and light blue colouring of the environment to colour certain controls within my addin. 我正在使用Visual Studio 2010,并且希望使用环境的深蓝色和浅蓝色为外接程序中的某些控件着色。

找到了一个名为“更改Visual Studio的调色板”的博客,该博客引用了Visual Studio UX指南文档

To handle theme in a VS 2012 addin, have a look at this detailed article: 要处理VS 2012外接程序中的主题,请查看以下详细文章:

HOWTO: Get the current theme and detect changing it from a Visual Studio 2012 add-in. HOWTO:获取当前主题并从Visual Studio 2012加载项中检测到对其进行更改。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM