ColorKeyFrameAnimation.InterpolationColorSpace Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The color space the color interpolation should run through.
The ColorKeyFrameAnimation.InterpolationColorSpace property enables a developer to choose what color space the system will interpolate through when animating between two colors. Developers can choose between the CompositionColorSpace enum values Rgb, Hsl, or Auto (system chosen).
public:
property CompositionColorSpace InterpolationColorSpace { CompositionColorSpace get(); void set(CompositionColorSpace value); };
CompositionColorSpace InterpolationColorSpace();
void InterpolationColorSpace(CompositionColorSpace value);
public CompositionColorSpace InterpolationColorSpace { get; set; }
var compositionColorSpace = colorKeyFrameAnimation.interpolationColorSpace;
colorKeyFrameAnimation.interpolationColorSpace = compositionColorSpace;
Public Property InterpolationColorSpace As CompositionColorSpace
Property Value
The color space the color interpolation should run through.