July 2015
Intermediate to advanced
1300 pages
87h 27m
English
At one time or another, you have probably wanted to fill your UI controls with interesting background textures or gradients or set a particular color, maybe as the background or the foreground. In WPF, you fill visual elements with brushes. WPF defines several kinds of brushes, all deriving from System.Windows.Media.Brush. The following list summarizes available brushes:
SolidColorBrush enables you to fill a graphical object with a single color. Colors are exposed as static properties from the System.Windows.Media.Colors class.
LinearGradientBrush enables you to fill a graphical object with a linear gradient composed of multiple ...