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

Get Pro Expression Blend 4 now with O’Reilly online learning.

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