This documentation is archived and is not being maintained.
ColorInterpolationMode Enumeration
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Determines how the colors in a gradient are interpolated.
Namespace:
System.Windows.Media
Assembly:
System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
No code example is currently available or this language may not be supported.
<object property="enumMemberName"/>
| Member name | Description |
|---|
| ScRgbLinearInterpolation | Colors are interpolated in the scRGB color space |
| SRgbLinearInterpolation | Colors are interpolated in the sRGB color space |
The mapping mode also influences interpolation.
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0