From the course: Windows Presentation Foundation 4: Brushes and Colors

Welcome

- [Narrator] Welcome to my Windows Presentation Foundation, Brushes and Colors course. Join me as I continue my series, this time exploring the painting system included in the WPF framework. I start with a look at the WPF brushes and point out what parts of the WPF UI are brushable. I'll explore how color works, especially in conjunction with the solid color and gradient brushes. You'll see how to specify color with a set of predefined colors, with RGB values, through hexadecimal notation, and via the scRGB color space. Check out the section on the visual studio property editor. This handy tool provides visualization of the colors and brushes, making it easy to define the look you want. Once the color basics are mastered, I focused on the available brushes. There is a section on gradient brushes, and one on the image brush. I investigate opacity masks, and look at how to create interesting effects with the visual brush. Finally, I close the course with a demonstration on how to store brushes and colors in XAML resources.

Contents