- WPF Brushes Introduction
- WPF Solid Color Brushes
- WPF Linear Gradient Brushes
- WPF Image Brushes
- WPF Brushes and Text
As Microsoft says: “You use Brush objects to paint the interiors or outlines of XAML shapes, text, and parts of controls, so that the object being painted is visible in a UI” at their webpage called Using brushes to paint backgrounds, foregrounds, and outlines. The article goes on to say: “To paint an object such as a Shape or the parts of a Control that is displayed on the app canvas, you use a Brush. For example, you set the Fill property of the Shape or the Background and Foreground properties of a Control to a Brush value, and that Brush determines how the UI element paints or is rendered in UI.”
There are several different kind of brushes.
- AcrylicBrush
- SolidColorBrush
- LinearGradientBrush
- ImageBrush
- WebViewBrush
- XamlCompositionBrushBase