Quantcast
Channel: 2,000 Things You Should Know About WPF » Gradient Fill
Browsing latest articles
Browse All 4 View Live

Image may be NSFW.
Clik here to view.

#226 – Gradient Fills Adjust to the Size of the Control

Because the start/stop points and gradient stops within a gradient fill are normalized to a 0.0-1.0 range, the same gradient can be used to fill controls of different sizes.  The fill changes color...

View Article



Image may be NSFW.
Clik here to view.

#227 – You Can Specify Gradient Fills in Absolute Coordinates

When you specify a gradient fill’s starting position in 2D space, you typically use coordinates that are normalized to the size of the control, ranging from 0.0 to 1.0. With the MappingMode property,...

View Article

Image may be NSFW.
Clik here to view.

#546 – Adding Gradient Stops in Blend

A gradient fill can have a number of different stops–positions within the gradient that should take on a color value that you specify. To add or remove stops for a gradient, start by selecting the...

View Article

Image may be NSFW.
Clik here to view.

#558 – Reversing a Gradient Using Blend

When defining a gradient fill in Blend, the Offset property of each gradient stop indicates the location of the gradient stop along the gradient line, from StartPoint to EndPoint. In the example below,...

View Article
Browsing latest articles
Browse All 4 View Live


Latest Images