Share via


ColorKeyFrameAnimation.InterpolationColorSpace Property

Definition

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.

Applies to