Skip to content
| Marketplace
Sign in
Visual Studio>Tools>VSx Color List
VSx Color List

VSx Color List

Michal Žůrek

|
1,855 installs
| (1) | Free
Tool window which lists all available colors, that Visual Studio Extension developer can use.
Download

VSx Color List

Tool window which lists all available colors, that Visual Studio Extension developer can use. All colors are available in VsBrushes or VsColors classes as described in details for each color.

Using colors

From code behind

In code behind you retrieve color for example by FindResource method which is available on every WPF control.

someControl.FindResource(VsBrushes.ComboBoxBorderKey)

From XAML

In XAML you need to add import of Microsoft.VisualStudio.Shell namespace and then you can use color using StaticResource from that namespace.

For example put this atribut to root element in XAML.

xmlns:vsshell="clr-namespace:Microsoft.VisualStudio.Shell;assembly=Microsoft.VisualStudio.Shell.15.0"

and then set some color as background of button:

<Button Background="{DynamicResource {x:Static vsshell:VsBrushes.ComboBoxBorderKey}}">Click me!</Button>

This extensions show list of all available colors that you can use with the preview how the color looks like.

vsxcolorlist_screen_with_border.png

#Changelog Version 1.0 (2019-01-19)

  • initial release
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft