Summary

One of the more important concepts in WPF is how you can style the UI of the application and where you can store these customizations. Thanks to the structure of WPF, you can create various XAML files that can be used as a resource dictionary, which is a dictionary of information stored using the XAML markup.

Within a resource dictionary, you can store the location (path) of a graphical resource such as an image or an animation, or you can store a UI style that will be used to customize the graphical appearance of a UI control.

Using styles, you can revolutionize the UI appearance of a control, starting from modifying basic properties such as the border color or the font family. Then you can go down to the core template control and drastically ...

Get Applied WPF 4 in Context now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.