ColorInterpolationMode (LinearGradientBrush)


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

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

Type: ColorInterpolationMode

A value of the enumeration that specifies how stops in the brush should interpolate.

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

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

Community Additions