Chapter 5. Brushes and Images

IN THIS CHAPTER

Throughout the previous chapters, properties such as Foreground, Fill, and Stroke have been set to names of colors (Red, Orange, and so on). You probably guessed that they can also be set to colors with raw RGB values (such as #F1C2D9). However, these properties can be set to much more than just colors. They can be set to any instance of a brush object, which is a surprisingly powerful feature. It’s so powerful that an entire chapter of this book is devoted almost exclusively to the topic of Silverlight brushes.

The fact that the Foreground, Fill, and Stroke properties can (and must) ...

Get Silverlight 1.0 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.