#531 – Adjusting a Gradient Using the Gradient Tool
April 6, 2012 1 Comment
You can change an existing gradient fill by using the Gradient Tool.
To adjust a gradient, start by selecting the control that uses a gradient that you want to change, either in the Objects and Timeline panel, or in the XAML editor. In this example, we’re going to change the background color gradient for a Border.
If your control uses a gradient for more than one property, select the property on the Properties panel. You’ll see the existing gradient displayed.
Click the Gradient Tool icon.
You’ll see a visual indication of the gradient drawn on the control, with an arrow showing the direction of the gradient and little circles showing each gradient stop.
You can move the head or tail of the arrow to change the starting/stopping point of the gradient, as well as its direction.
You can change the position of a gradient stop by dragging the corresponding circle.
Pingback: #561 – Drawing a 3D Donut Using a Radial Gradient « 2,000 Things You Should Know About WPF