|
|
|
|
|
Overview
|
|
|
|
|
Themes are packaged in a WPF Project. This project contains the following five folders:
|
|
|
|
|
|
ColorPalettes
|
|
|
|
ControlTemplates
|
|
|
|
CustomControls
|
|
|
|
Fonts
|
|
|
|
Themes
|
|
|
|
Colors, fonts, and control templates are brought together in the /Themes/StandardTheme.xaml file. This file contains a merged resource dictionary with references to each control template, the colors resource dictionary, and the fonts resource dictionary. The /Themes/StandardTheme.xaml file is the only one you will need to reference in your application.
|
|
|
|
The following diagram shows where files are located in the directory structure. Note how colors and fonts exist in both their respective folders, and in the /Themes folder. The files in the /Themes directory are actually just references to the files in the /Colors and /Fonts directories. This allows you to create multiple color and font packs, and simply change the reference in the /Themes folder to apply them to all the ControlTemplates, CustomControls, and the StandardTheme.
|
|
|
|
|
|
|
Colors & Brushes
|
|
|
|
|
|
|
|