Share via


ColorInterpolationMode Property (RadialGradientBrush)

Gets or sets a value that specifies how the colors in the linear gradient stops are interpolated.

XAML
<object ColorInterpolationMode="ColorInterpolationMode" .../>
Scripting
value = object.colorInterpolationMode
object.colorInterpolationMode = value

Property Value

ColorInterpolationMode

A value of the ColorInterpolationMode enumeration.

This property is read/write. The default value is SRgbLinearInterpolation.

Remarks

If you use the ScRGB pattern to declare colors in gradient stops, check the results visually. The default SRgbLinearInterpolation might provide satisfactory results.

Applies To

RadialGradientBrush

See Also

Silverlight Brushes Overview