Styling and Templating Controls

In WPF you have different ways of changing the way a control looks; you can start by modifying the properties of a control, but the problem with this solution is that you would have to repeat the same steps for every control of the same type. The next way would be to create a style and apply it to a specific control, but that may still not be enough yet for you to create the look you want. The final and most advanced solution of creating a custom control is to modify the template of an existing one. You can easily accomplish each of these steps using the Expression Blend UI.

Modifying Properties

Every time you select an object in Expression Blend, the Properties panel adapts to the current selected item in the ...

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

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.