11.8.13

Supporting themes in Visual Studio plug-ins

We have developed a Visual Studio plug-in to our customer (CloudShare). The plug-in is a tool window that enables managing CloudShare environments from within Visual Studio (CloudShare on Visual Studio Gallery).

During the tests we've noticed that our tool window does not change colors when applying a different theme. Searching the web we only found out some references to how you can use resource keys from the Shell assembly like this one: How can I find out when Visual Studio theme color changes?
To enable themes in your code you need to add reference to Shell assembly in your xaml:
xmlns:vsfx="clr-namespace:Microsoft.VisualStudio.Shell;assembly=Microsoft.VisualStudio.Shell.12.0"
After that you can use the colors in your xaml like this:
<Setter Property="Background" Value="{DynamicResource {x:Static vsfx:VsBrushes.MenuKey}}"/>

You can take a look at the MSDN article that describes the VsBrushes class.

The problem was you cannot actually understand which resource key to use when you look at the VsBrushes class.
To make it easier to identify the colors we have developed a Visual Studio plug-in that shows the actual colors of each key for the selected theme. This helps you with identifying the key for the current theme and apply them to your xaml.
You can also filter the list using RGB values. Print screen and paste into Paint. In Paint use the "Colour Picker" tool to select the relevant color and then open the "Edit Colours" window to find our what are the RGB values. After that use the filter in the tool window to see the relevant keys.

Plug-in on CodePlex: https://vsthemecolorsviewer.codeplex.com/.
Download on Visual Studio Gallery:
2012, 2013.


We hope you will this useful.

166 comments:

  1. Anonymous31/1/14 23:13

    Did you consider telling people how to run this plug-in? I have it installed, but I don't see it in the Tools menu. How do I run this plug-in?

    ReplyDelete
    Replies
    1. This comment has been removed by the author.

      Delete
    2. Anonymous13/2/15 17:14

      View>OtherWindows>ThemeColorsViewer

      Delete
  2. This comment has been removed by the author.

    ReplyDelete
  3. Hi Admin,

    Excellent blog and its totally loaded with valid posts on Java and .Net technology. Consider including RSS feed in your blog, so aspirants like me can follow your blog easily. Dot Net Training

    ReplyDelete
  4. Mind boggling site and hadoop training in chennai its totally stacked with considerable posts on Java and .Net development. Consider fusing RSS divert in your site, so hopefuls like me can take after your site adequately.

    ReplyDelete
  5. Incredible site and its oracle training in chennai completely stacked with substantial posts on Java and .

    ReplyDelete
  6. Your post helped me informatica training in chennai to handle the occupation prospects in online advancement.

    ReplyDelete
  7. Thanks for your informative article. Your pose helped me a lot to under the future in .Net mobile application development. Dot Net Training in Chennai

    ReplyDelete
  8. It was really a wonderful article and I was really impressed by reading this blog. Your technical information is very useful for me. Thanks for sharing your ideas.

    Regards...
    Hacking Course in Chennai

    ReplyDelete
  9. It is a great article thanks for a useful information, i have read many articles but this article is great one. Thanks a lot.
    iOS Training in Chennai

    ReplyDelete
  10. You shake for the significant oracle training in chennai article about the visual studio..informatica training in chennai

    ReplyDelete
  11. SAP is one of the customer relationship management software and it support all end to end customer related process. To know more details about SAP modules please refer the following site.
    Regards..
    SAP Training

    ReplyDelete
  12. Thanks for sharing this valuable post to my knowledge; SAS has great scope in IT industry. It’s an application suite that can change, manage & retrieve data from the variety of origin & perform statistical analytic on it.
    Regards,
    sas course in Chennai|sas training institute in Chennai|sas training chennai

    ReplyDelete
  13. I have been following your posts regularly. It is very informative that I share it with my students.
    Harshitha
    QTP Selenium Training

    ReplyDelete
  14. Excellent post about visual studio thanks to the author...

    ReplyDelete
  15. Interesting and worth able content is discussed here. The fact about current technology is explicitly stated over here. I do agree on your thoughts on how the influencers are taking advantage over emerging technology. Thanks for sharing this in here. Keep bloging like this.

    Hadoop Training in Chennai | Hadoop Course in Chennai | Big data training

    ReplyDelete
  16. Way cool! Some extremely valid points! I appreciate you penning this write-up and also the rest of the website is really good.
    SAP APO Online Training

    ReplyDelete
  17. Hi Dude,
    Awesome Post!!! With unique content, I really get reading interest when I am following your article, I hope I ll help many of them who looking this pretty information.
    Regards,
    Angular training in chennai|Node JS training|Angularjs training in chennai

    ReplyDelete
  18. Wonderful post i really impressed the to read the article very nice information keep it up to more post informatica training in Chennai

    ReplyDelete
  19. Excellent Post, I welcome your interest about to post blogs. It will help many of them to update their skills in their interesting field.
    Regards,
    Informatica training center in Chennai|Informatica training chennai|Informatica training in chennai

    ReplyDelete
  20. Very informative blog.Informatica is a data integration/ETL tool that provides functionality for data transformation and loading of data. Informatica gets data from various sources and it loads the data into different targets.

    Informatica training in chennai

    ReplyDelete


  21. I read your articles very excellent and the i agree our all points because all is very good information provided this through in the post. It is very helpful for me. Keep blogging like this. Thanks.

    Peridot Systems Chennai Reviews

    ReplyDelete
  22. Thanks for the good words! Really appreciated. Great post. I’ve been commenting a lot on a few blogs recently, but I hadn’t thought about my approach until you brought it up.

    SEO training in Adyar

    ReplyDelete
  23. Great! Thanks for your documents, its been very helpful. Thanks again for sharing your information gallery

    ReplyDelete
  24. This is a great inspiring article. I am pretty much pleased with your good work. You put really very helpful information. Keep it up. Keep blogging. Looking to reading your next post.About Us Page Content

    ReplyDelete
  25. Excellent information with unique content and it is very useful to know about the information based on blogs.this is valuable information for learners.thanks
    SAP REFX Online Training in hyderabad

    ReplyDelete
  26. Phone calls can be composed so that the calling party calls alternate members and adds them to the call; be that as it may, members are generally ready to call into the telephone call themselves by dialing a phone number that interfaces with a "meeting extension" (a specific sort of hardware that connections phone lines).Conference Calling Via Phone

    ReplyDelete
  27. nice articles..
    Best SEO training in hyderabad all modules are clearly solved and practice with guide.seo training in hyderabadAnd clearly getting knowledge of seo.

    ReplyDelete
  28. nice..
    SEO training in hyderabad by experts in digital markeing And by prosessional experts in seo.All the training by placement and also guide by the professionals.SEO training in hyderabad

    ReplyDelete
  29. A good blog. Thanks for sharing the information. It is very useful for my future. keep sharing
    red ball 2 | duck life 2 | happy wheels | Red Ball | Red ball 3 | Flash Games| Tank trouble

    ReplyDelete
  30. useful information

    Online recruitment for bank jobs and government jobs and you can get Notification and application to apply

    online for bank jobs and govt jobs

    ReplyDelete
  31. Useful Information:
    Telugu Cinema Contains Telugu Cinema News, Latest Movie Reviews, Actor, Actress, Movie Galleries And Many More Telugu Cinema

    ReplyDelete
  32. Great article. I like your blog. Thanks for sharing.

    web designing courses in chennai

    ReplyDelete
  33. supporting themes in visual studio plug nice poss..


    Hadoop online training in hyderabad.All the basic and get the full knowledge of hadoop.
    hadoop online training in hyderbad

    ReplyDelete
  34. very nice post. glad to find your blog. Thanks for sharing.

    web design course in chennai

    ReplyDelete
  35. Anonymous23/8/16 10:17

    We have developed a Visual Studio plug-in to our customer (CloudShare).
    informatica online training
    The plug-in is a tool window that enables managing CloudShare environments from within Visual Studio (CloudShare on Visual Studio Gallery).

    ReplyDelete
  36. Good post. thanks for sharing such a useful post.

    PHP Training in Chennai

    ReplyDelete
  37. Great post. Glad to find your blog. keep sharing such a useful post.

    digital marketing training institute in chennai

    ReplyDelete
  38. very nice post. glad to find your blog. Thanks for sharing.
    dot net Training in Chennai



    ReplyDelete
  39. nice visuals Thanks for sharing this blog..
    tibco Training in Chennai



    ReplyDelete
  40. Updating with the latest technology and implementing it is the only way to survive in our niche. Thanks for making me this article. You have done a great job by sharing this content in here. Keep writing article like this.
    SAS Training in Chennai | SAS Training Institute in Chennai

    ReplyDelete
  41. Well Said, you have furnished the right information that will be useful to anyone at all time. Thanks for sharing your Ideas.
    PHP Training in Chennai | PHP course in Chennai

    ReplyDelete
  42. Great and impressive article!! Got to learn and know more about web development. To know more refer create website for much more unique ideas.PHP Training in Chennai | Best PHP training in Chennai

    ReplyDelete
  43. Visual Studio has advanced as well, giving developers tools to keep up with the rapidly changing environment.

    No.1 Digital Marketing Course in Chennai
    SKARtec Digital Marketing Academy

    http://skartecedu.in/best-digital-marketing-course-in-chennai/

    ReplyDelete
  44. This comment has been removed by the author.

    ReplyDelete
  45. really good article.

    Chase4Net is a reputed software training Institute for CCNA Training in Marathahalli,JAVA Training in Marathahalli,Python Training in Marathahalli,Android Training in Marathahalli .
    Our main focus areas are Java Certification Training and Software Development.Chase4Net has been already ranked as the No.1 for CCNA Training in Bangalore,JAVA Training in Bangalore,Python Training in Bangalore,Android Training in Bangalore.
    We provide quality education to the students at low cost.Students will get real experience.We are the Best Java Certification Training institute in bangalore.

    ReplyDelete
  46. This is excellent information. It is amazing and wonderful to visit your site.Thanks for sharng this information,this is useful to me...
    Android training in chennai
    Ios training in chennai

    ReplyDelete
  47. Impressive post..!!!
    I can learn so many interesting or informative post through this blog that are helpful for us...Amazing work you have to do on this blog..Keep sharing much more post...

    devops jobs in Hyderabad

    ReplyDelete
  48. Something new, You press visual plus ins and then a single character you wish to explore for and then it will give you all circumstances of that figure identified with a letter.If you learn about Java Developer Platforms I provide that's Best Java Training in Our conversational areas to visit us,
    Java Training in Chennai | Best Java Training Institutes in Chennai

    ReplyDelete
  49. Nice it seems to be good post... It will get readers engagement on the article since readers engagement plays a vital role in every

    Texting API
    Text message marketing
    Digital Mobile Marketing
    Sms API
    Sms marketing

    ReplyDelete
  50. It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...

    Dot Net Training Institute in Chennai

    ReplyDelete
  51. I wondered upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I’ll be subscribing to your feed and I hope you post again soon.

    Java Training Institute in Chennai

    ReplyDelete
  52. Thank you for posting this beneficial content material, accurate to recognise about new matters right here, permit me percentage this,  oracle training in chennai

    ReplyDelete
  53. happy new year 2018 sms
    happy new year quotes in hindi
    advance happy new year 2018
    whatsapp new year dp
    happy new year 2018 wallpaper 3d
    new year whatsapp dp
    this post is really informative, I want to share it with all of my friends. Please allow me to share it with my friends who will subscribe to your site.

    ReplyDelete
  54. This comment has been removed by the author.

    ReplyDelete
  55. It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...

    ReplyDelete
  56. Nice! thanks therefore much! thanks for sharing.
    Your dairy posts area unit a lot of interesting and informative.
    your writing is too good..
    I think there are many people like and visit it regularly, including me.

    ReplyDelete
  57. This comment has been removed by the author.

    ReplyDelete
  58. Thanks for your informative article. Your blog post it helped in future trend for Dot Net mobile application development. Keep post like this. Regards,
    http://www.metaforumtechnologies.com/dot-net-training-in-chennai

    ReplyDelete
  59. I enjoy what you guys are usually up too. This sort of clever work and coverage! Keep up the wonderful works guys I’ve added you guys to my blog roll.
    big-data-hadoop-training-institute-in-bangalore

    ReplyDelete
  60. I believe there are many more pleasurable opportunities ahead for individuals that looked at your site.

    Best Hadoop Training in Chennai

    ReplyDelete

  61. Thanks for your article. Its very helpful to everyone.This article helped in my project.Thank you so much for giving this. I Hadoop training in chennai | Hadoop Training institute in chennai

    ReplyDelete
  62. anything you can advise? I get so much lately it’s driving me insane, so any assistance is very much appreciated.
    fire and safety course in chennai

    ReplyDelete
  63. This is most informative and also this post most user friendly and super navigation to all posts... Thank you so much for giving this information to me
    best rpa training in chennai
    rpa training in chennai |
    rpa online training
    rpa course in bangalore
    rpa training in pune
    rpa training in marathahalli
    rpa training in btm

    ReplyDelete
  64. The post is written in very a good manner and it entails many useful information for me. I am happy to find your distinguished way of writing the post. Now you make it easy for me to understand and implement the concept.
    aws Training in indira nagar

    selenium Training in indira nagar

    python Training in indira nagar

    datascience Training in indira nagar

    devops Training in indira nagar

    ReplyDelete

  65. Hmm, it seems like your site ate my first comment (it was extremely long) so I guess I’ll just sum it up what I had written and say, I’m thoroughly enjoying your blog. I as well as an aspiring blog writer, but I’m still new to the whole thing. Do you have any recommendations for newbie blog writers? I’d appreciate it.
    Advanced AWS Interview Questions And Answers, Top 250+AWS Interviews Questions and Answers 2018
    Advanced AWS Interview questions and answers | Top 110 AWS Interview Question and Answers
    Advanced AWS Training in Bangalore | Best Amazon Web Services Training in Bangalore
    Advanced AWS Training in Pune | Best Amazon Web Services Training in Pune
    Advanced AWS Online Training | Best Online AWS Certification Course in india

    ReplyDelete
  66. This is such a good post. One of the best posts that I\'ve read in my whole life. I am so happy that you chose this day to give me this. Please, continue to give me such valuable posts. Cheers!
    python training institute in marathahalli
    python training institute in btm
    Python training course in Chennai

    ReplyDelete
  67. This blog is very interesting and powerful content. I got more important information and it's very useful for improve my knowledge.
    Tableau Classes in Bangalore
    Tableau Coaching in Bangalore
    Tableau Course in Bangalore
    Tableau Certification in Bangalore
    Tableau Training Institutes in Bangalore

    ReplyDelete
  68. Awesome article. You have put so much effort to present us such an informative post. Keep us updated. Looking forward for more posts from you.
    Mobile Testing Training in Chennai | Mobile Testing Course in Chennai

    ReplyDelete
  69. I wondered upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I’ll be subscribing to your feed and I hope you post again soon.
    Best selenium Training Institute in Chennai
    Selenium classes in chennai
    selenium course
    Best Selenium Training Institute in Bangalore
    Selenium Testing Training in Bangalore
    Selenium Institutes in Bangalore

    ReplyDelete
  70. This comment has been removed by the author.

    ReplyDelete
  71. Attend The Python training in bangalore From ExcelR. Practical Python training in bangalore Sessions With Assured Placement Support From Experienced Faculty. ExcelR Offers The Python training in bangalore.
    python training in bangalore

    ReplyDelete
  72. The article is so informative. This is more helpful for our
    software testing training courses
    selenium course Thanks for sharing

    ReplyDelete
  73. This is very great thinks. It was very comprehensive post and powerful concept. Thanks for your sharing with us. Keep it up..
    Oracle DBA Training in Chennai | Oracle DBA Training Institute in Chennai

    ReplyDelete
  74. Thank you for the informative post about Security challenges in AWS , Found it useful . cloud migration services have now become secured and with no-risk

    Cloud Migration services

    Aws Cloud Migration services

    Azure Cloud Migration services

    ReplyDelete
  75. Appreciating the persistence you put into your blog and detailed information you provide.
    Css training in chennai | Css course in chennai

    ReplyDelete
  76. top social media influencers in chennai - Devoted to publishing the most recent search news, the simplest guides and how-to's for the SEO and Online advertising community

    ReplyDelete
  77. Appreciating the persistence you put into your blog and detailed information you provide.

    Oracle dba training chennai | oracle dba training course chennai

    ReplyDelete
  78. It’s great to come across a blog every once in a while that isn’t the same out of date rehashed material. Fantastic read.
    MCSE training in Chennai | MCSE Training course chennai



    ReplyDelete
  79. nice and informative article for all students and also everyone... Thanks for sharingweb design company in velachery

    ReplyDelete
  80. I should assert barely that its astounding! The blog is informational also always fabricate amazing entitys. Frac Plug

    ReplyDelete
  81. Attend The PMP Certification in Abu Dhabi From ExcelR. Practical PMP Certification in Abu Dhabi Sessions With Assured Placement Support From Experienced Faculty. ExcelR Offers The PMP Certification in Abu Dhabi.
    ExcelR PMP Certification in Abu Dhabi

    ReplyDelete
  82. Thank you for sharing very informative and creative content.This content is very useful best way to extent the knowledge of animation

    ReplyDelete
  83. Thank you for sharing very informative and creative content.This content is very useful best way to extent the knowledge of animation and multimedia

    ReplyDelete
  84. I can’t imagine that’s a great post. Thanks for sharing.

    Get Software Testing Training in Bangalore from Real Time Industry Experts with 100% Placement Assistance in MNC Companies. Book your Free Demo with eTechno Soft Solutions.

    ReplyDelete
  85. Amazing Articles!!!Thanks for all your valuable works...It's really Worth full to Read all the information's Thank you!!!
    Java training in chennai | Java training in annanagar | Java training in omr | Java training in porur | Java training in tambaram | Java training in velachery

    ReplyDelete
  86. Thanks of sharing this post…Python is the fastest growing language that helps to get your dream job in a developing area. It says every fundamental in a programming, so if you want to become an expertise in python get some training








    Dot Net Training in Chennai | Dot Net Training in anna nagar | Dot Net Training in omr | Dot Net Training in porur | Dot Net Training in tambaram | Dot Net Training in velachery

    ReplyDelete
  87. Before we venture off on our journey to improvise what is probably the biggest field of study, research, and development, it is only apt and fitting that we understand it first, even if at a very basic level. machine learning and ai courses in hyderabad

    ReplyDelete

  88. 360DigiTMG, Indore is a leading solutions provider of Training and Consulting to assist students, professionals by delivering top-notch, world-class classroom and online training. It offers artificial intelligence course in indore.

    ReplyDelete
  89. Whitespaces are significant in the Python programming language. This makes code very easy to read in Python. unindent does not match any outer indentation level

    ReplyDelete
  90. Communication is a two way process. If done properly, it gives excellent result. Thus opting for the best Integrated Marketing Communication Course on Talentedge is wise. To know more visit:

    ReplyDelete
  91. I genuinely appreciated understanding it. Sitting tight for some more incredible articles like this from you in the nearing days.

    Tableau Training in Bangalore
    Tableau Training Institute in Bangalore

    ReplyDelete
  92. interesting to read.thanks for sharing Angular training in Chennai

    ReplyDelete
  93. Thanks for creating a useful content and well-written post.
    Digital Marketing In Telugu

    ReplyDelete
  94. Colleges Email List
    FountMedia is a marketing firm dedicated to helping colleges and universities grow their enrollment through successful direct mail and email campaigns. With over 100 years of combined direct mail experience, we know what it takes to create a winning campaign. That's why we're happy to offer our exclusive Colleges Email list. Our email marketing lists provide the best quality info for your campaign – names, addresses, phone numbers, graduation year – to truly explode your student enrollment.
    Address: Monmouth Junction NJ (New Jersey) 08852US (United States)
    Contact us:sales@fountmedia.com
    Contact No: 7327039915
    Website - https://www.fountmedia.com

    ReplyDelete
  95. Thank you for sharing very informative content.
    MSBI Training Online

    ReplyDelete
  96. The article was absolutely fantastic! Lot of great information which can be helpful in some or the other way.
    AWS Training in Chennai

    ReplyDelete
  97. Very Nice Blog…Thanks for sharing this information with us.
    tableau training in hyderabad

    ReplyDelete
  98. This post is so interactive and informative.keep update more information…
    Spoken English Classes in Anna Nagar
    Spoken English Classes in Chennai

    ReplyDelete
  99. DevOps consulting services can launch your apps and software using sophisticated futuristic technology

    ReplyDelete
  100. Very interesting post and thanks for your knowledgeable sharing with us. Keep doing well!
    Virginia Online Divorce
    Divorce Lawyer Consultation Cost
    Divorce in Virginia with Child

    ReplyDelete
  101. Anonymous26/5/23 09:58

    Really you provided a excellent list of directory submission sites. These are very helped me in improving my website SEO. Thanks.

    SAP HANA Admin Certification Course
    Azure Solution Architect Interview Questions
    SCCM 2019 Training In Hyderabad and Certification Course

    ReplyDelete
  102. Rupesh Kumar23/8/23 10:05

    Thank you for providing us with such a pleasant and informative blog. Ziyyara’s expert-led platform offers the finest online tuition for English in Saudi Arabia, specifically designed to cater to the needs of learners in Riyadh and beyond.
    For more info visit Online Tuition for english in Saudi Arabia or Call +971505593798, +919654271931

    ReplyDelete
  103. Anonymous3/11/23 08:18

    The information you have posted is very useful. The sites you have referred was good. Thanks for sharing. Struggling with challenging GCSE subjects like Mathematics, Science, and Religious Studies?
    For more info visit Online tuition for GCSE

    ReplyDelete
  104. I appreciate your hard work, Thanks for sharing your blog with us
    Python training in Hyderabad

    ReplyDelete
  105. This comment has been removed by the author.

    ReplyDelete
  106. This comment has been removed by the author.

    ReplyDelete
  107. love this blog
    full stack developer course in chennai

    ReplyDelete