Chapter 17 Using Resources, Styling, and Templating

In This Chapter

Storing Items in Collections

Using ResourceDictionaries in Silverlight

Styling a Control

Styling the Thumbnails Application

Embedding Fonts in the Application

Templating the Lookless Control

Silverlight was developed from the start with the need to have a clean separation of an application’s behavior and appearance in mind. As in HTML (with the Cascaded Style Sheets), the many advantages of storing a control’s look and feel in a different place than its functionality are clear.

However, Silverlight goes a couple of steps further than CSS:

Image You can style a control (that is, create ...

Get Silverlight 2 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.