Color​Key​Frame Color​Key​Frame Color​Key​Frame Class

Definition

Provides a base class for specific animation key-frame techniques that define an animation segment with a Color target value. Derived classes each provide a different key-frame interpolation method for a Color value that is provided for a ColorAnimationUsingKeyFrames animation.

public class ColorKeyFrame : DependencyObject, IColorKeyFramepublic class ColorKeyFrame : DependencyObject, IColorKeyFramePublic Class ColorKeyFrame Inherits DependencyObject Implements IColorKeyFrame
Inheritance
ColorKeyFrameColorKeyFrameColorKeyFrame
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Inherited Members

Inherited methods

Inherited properties

Remarks

ColorKeyFrame derived classes

ColorKeyFrame is the parent class for several immediately derived classes that define the interpolation behavior for the typed keyframe.

Constructors

ColorKeyFrame() ColorKeyFrame() ColorKeyFrame()

Provides base class initialization behavior for ColorKeyFrame -derived classes.

protected ColorKeyFrame()protected ColorKeyFrame()Protected Sub New()
Attributes

Properties

KeyTime KeyTime KeyTime

Gets or sets the time at which the key frame's target Value should be reached.

public KeyTime KeyTime { get; set; }public KeyTime KeyTime { get; set; }Public ReadWrite Property KeyTime As KeyTime
<colorKeyFrame KeyTime="keyTimeString"/>
Value
KeyTime KeyTime KeyTime

The time at which the key frame's current value should be equal to its Value property. The default is null.

Attributes

KeyTimeProperty KeyTimeProperty KeyTimeProperty

Identifies the KeyTime dependency property.

public static DependencyProperty KeyTimeProperty { get; }public static DependencyProperty KeyTimeProperty { get; }Public Static ReadOnly Property KeyTimeProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the KeyTime dependency property.

Attributes

Value Value Value

Gets or sets the key frame's target value.

public Color Value { get; set; }public Color Value { get; set; }Public ReadWrite Property Value As Color
<colorKeyFrame Value="colorString"/>
-or-
<colorKeyFrame Value="referenceToColor"/>
Value
Color Color Color

The key frame's target value, which is the value at its specified KeyTime. The default is a Color with an ARGB value of #00000000.

Attributes

ValueProperty ValueProperty ValueProperty

Identifies the Value dependency property.

public static DependencyProperty ValueProperty { get; }public static DependencyProperty ValueProperty { get; }Public Static ReadOnly Property ValueProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the Value dependency property.

Attributes