Chapter 14. Resources, styles, and control templates

 

This chapter covers
  • Using application resources
  • Controlling styling
  • Building control templates
  • Using the Visual State Manager

 

Chapter 13 described the powerful animation features available in Silverlight. These features are useful for creating entertaining illustrations and for adding a degree of richness to your application. This richness can also be applied to controls, as you’ll see in this chapter.

Throughout this chapter, you’ll see how to apply rich styles to your application. These styles are similar to the CSS features you may have seen in the HTML world. In general, a Style declaration will be part of a resource, so I’ll cover resources first. From there, you’ll learn how ...

Get Silverlight 5 in Action now with O’Reilly online learning.

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