Freigeben über


Themes

The theme files in this section are created from the resource dictionaries containing each Windows Presentation Foundation (WPF) theme and are provided as examples of how to create themes, as well as how to customize existing controls. In addition, the theme files should give you some insight into creating robust controls. You can use the templates in these themes as a starting place for customizing your own controls, or you can use the simplified versions in the ControlTemplate Examples. The advantage of the latter is that they show only the parts of the ControlTemplate that you must recreate if you write a custom ControlTemplate for an existing control. If you want to recreate the look and feel of a specific theme and need to match visual parity with one of the Windows Presentation Foundation (WPF) controls, the theme files are your best starting place.

In This Section

Reference

ThemeInfoAttribute

ResourceDictionaryLocation

ResourceDictionary

Styling and Templating

Styles and Templates Samples

Resources