GradientBrush.GradientStops Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the brush's gradient stops.
public:
property GradientStopCollection ^ GradientStops { GradientStopCollection ^ get(); void set(GradientStopCollection ^ value); };
GradientStopCollection GradientStops();
void GradientStops(GradientStopCollection value);
public GradientStopCollection GradientStops { get; set; }
var gradientStopCollection = gradientBrush.gradientStops;
gradientBrush.gradientStops = gradientStopCollection;
Public Property GradientStops As GradientStopCollection
<gradientBrush>
oneOrMoreGradientStops
</gradientBrush>
Property Value
A collection of the GradientStop objects associated with the brush, each of which specifies a color and an offset along the brush's gradient axis. The default is an empty GradientStopCollection.