In this chapter, we will cover the following recipes:
- Creating the Style of a control
- Creating the Style of a control based on another Style
- Applying Style to a control automatically
- Editing the template of any control
- Creating a property trigger
- Creating a multi trigger
- Creating a data trigger
- Creating a multi data trigger
- Creating an event trigger
Introduction
When designing a user interface for an application, you need to ensure the consistency of the look and feel of the controls across the application. For example, if you are using buttons, they should look the same—similar colors, the same margins, and so on.
Styles are objects that hold the Setter properties to provide a bunch of settings to ...