O'Reilly logo

Applied WPF 4 in Context by Raffaele Garofalo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required