Windows.UI.Xaml.Media.GradientBrush

June 22, 2022 ยท View on GitHub

-description

An abstract class that describes a gradient, composed of gradient stops.

-remarks

Use the GradientStops property to describe the color composition of a LinearGradientBrush where each GradientStop specifies a Color and an Offset. Each Offset value should be between 0 and 1.

Color values can be any value expressed as a named color or one of the conversion syntaxes.

GradientBrush derived classes

GradientBrush is the parent class for LinearGradientBrush.

-examples

-see-also

Brush, LinearGradientBrush, RadialGradientBrush, GradientStop, Use brushes