↧
#231 – You Can Use a Brush for a Control’s Foreground
Though brushes in WPF are most often used to fill in the background for a window or a control, you can also render the foreground of many controls using a brush. For example, we can use a brush...
View Article#338 – Setting a Control’s Foreground Color
We saw how to set the background of a control to a solid color by specifying a color value for the Background property. Similarly, you can set the foreground color of a control using the Foreground...
View Article#811 – Setting Color Values in Code Based on System Colors
You can set the Foreground or Background properties of a control to a brush that will render the control using one of the predefined system colors. The SystemColors class contains a number of static...
View Article