Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ColorInterpolationMode (LinearGradientBrush)
Key
M11
M12
M21
M22
Tag
Uri
X1
X2
Y1
Y2
Collapse the table of content
Expand the table of content

ColorInterpolationMode (LinearGradientBrush)

Silverlight

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

ADD
Show:
© 2015 Microsoft