wpfthemedesigner-400319-edit-colors.md
The following WPF Themes are available with palettes:
| Theme Family | Themes |
|---|---|
| Windows 10 | Dark, Light |
| Office 2019 | Black, Colorful, Dark Gray, White, High Contrast |
| Visual Studio 2019 | Blue, Dark, Light |
| Office 2016 SE | Black, Colorful, Dark Gray, White |
| Visual Studio 2017 | Blue, Dark, Light |
Tip
Refer to the Palettes topic for more information.
Note
Themes you have imported from the Theme Editor do not contain a palette.
Topic : Import Themes
After you create a new custom theme, you can import a predefined palette and create a theme based on this palette or modify a default theme palette.
You can import one of the theme’s predefined palettes and use it as a base for a custom palette.
Use one of the following approaches to open the list of available palette operations:
You can paste or type a color value in the Palette window or use the Color Picker Tool to edit a color value.
Tip
Use the search bar in the Palette window to search for a color by its name or value.
To display an element’s XAML code and its position in the Visual Tree, use the Inspect Element tool:
You can use the Filter Colors tool to find palette colors which are bound to the selected element.
The theme’s XAML files contain palette bindings. The Theme Designer uses the $ symbol to mark palette colors (for example, the $Backstage.Delimeter value represents the Backstage.Delimeter color).
Follow the steps below to bind a palette color to an element in the Individual Colors window:
The following animation demonstrates how to bind a palette color to an element in the Individual Colors window :
Tip
You can group items by colors in the Individual Colors window. To change the color of all items in a group, right-click the group and enter a color name/value.
Follow the steps below to bind a color to an element in the CodeView window:
Tip
The text editor underlines the palette color name with this color’s value.
You can export a modified a theme palette in one of the following ways:
Tip
Topic : Publish Edited Themes
Tip
Topic : Use a Palette in an Application
See Also