June 2008
Beginner
480 pages
9h 41m
English
What You’ll Learn in This Hour:
Defining colors
Defining brushes
Different types of brushes
Using colors and brushes
Colors and brushes are at the core of WPF. You can find them in almost every part of the API. Thus far, we have been glossing over them, allowing you to understand them on a mostly intuitive level. However, we now examine them more fully to take further advantage of WPF’s powerful features.
We’ve been using colors from the very beginning of this book, but we first drew attention to them in Hour 14, “Resources and Styles,” when we introduced resources. Here’s what we showed:
<Color x:Key="lightBlueColor">#FF145E9D</Color> <Color x:Key="darkBlueColor">#FF022D51</Color> <Color x:Key="redColor">
Read now
Unlock full access