GradientBrush.ColorInterpolationMode Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets a ColorInterpolationMode enumeration value that specifies how the gradient's colors are interpolated.
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
<gradientBrush ColorInterpolationMode="ColorInterpolationMode"/>
Property Value
Type: System.Windows.Media.ColorInterpolationModeSpecifies how the colors in a gradient are interpolated. The default is ColorInterpolationMode.SRgbLinearInterpolation.
Dependency property identifier field: ColorInterpolationModeProperty
If you use the ScRGB pattern to declare colors in gradient stops, check the results visually. The default SRgbLinearInterpolation setting might provide satisfactory results.
Show: