How to: Create a Brush by Using the Brush Editor
You can create a brush for Brush-valued properties, such as Background, Foreground, and BorderBrush by using the brush editor.
To create a brush by using the brush editor
At the top of the Properties window, click the Categorized button.
Scroll to and expand the Brushes category.
Click Background.
The brush editor appears at the bottom of the Brushes category.
In the brush editor, click the Gradient Brush option.
Gradient options appear in the brush editor. The text block background displays a black and white gradient.
On the left side of the gradient bar, click the Radial Gradient option.
The text block background displays a black and white radial gradient.
On the right side of the gradient bar, click the Insert Stop button.
A new color stop is added to the center of the gradient bar.
Note
To delete a color stop, click to select it and then press the DELETE key.
Click the new color stop to select it.
Drag the R slider to the right.
The new color stop changes to red and the midpoint of the radial gradient changes to red.
See Also
Tasks
How to: Extract a WPF Resource