O'Reilly logo

Pro Expression Blend 4 by Andrew Troelsen

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

Chapter 5. Styles, Templates, and UserControls

In the previous chapter you learned how to create a user interface via Expression Blend and the WPF and/or Silverlight control libraries. The point of this chapter is to explore a collection of interconnected topics that allows you to deeply customize how these controls render their final visual output. The first part of this chapter will examine the WPF and Silverlight style mechanism. As you may know, styles serve the same general purpose as a web-centric cascading style sheet, in that both techniques provide a way to ensure that all instances of a given control (a Button, a TextBox, etc.) share the same property settings (fonts, colors, sizes, and so forth).

The next topic examined in this chapter ...

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