4.350 GradientBrush

x:Object > DependencyObject > Freezable > Animatable > Brush > GradientBrush
GradientBrush
LinearGradientBrush RadialGradientBrush
(usage)
<GradientBrush> string </GradientBrush>
(description)
A base type that describes a gradient, composed of gradient stops.
[is default constructible]
false
[text syntax]
BrushSyntax
[content property]
GradientStops
(properties)
ColorInterpolationMode
ColorInterpolationMode
(description)
A ColorInterpolationMode enumeration that specifies how the gradient's colors are interpolated.
GradientStops
GradientStopCollection
(description)
The brush's gradient stops.
MappingMode
BrushMappingMode
(description)
A BrushMappingMode enumeration that specifies whether the gradient brush's positioning coordinates are absolute or relative to the output area.
SpreadMethod
GradientSpreadMethod
(description)
The type of spread method that specifies how to draw a gradient that starts or ends inside the bounds of the object to be painted.