Class ColorKeyFrame
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.
Inheritance
System.Object
ColorKeyFrame
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Media.Animation
Assembly: OpenSilver.dll
Syntax
public abstract class ColorKeyFrame : DependencyObject, IKeyFrame
Fields
| Improve this Doc View SourceKeyTimeProperty
Identifies the KeyTime dependency property.
Declaration
public static readonly DependencyProperty KeyTimeProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
ValueProperty
Identifies the Value dependency property.
Declaration
public static readonly DependencyProperty ValueProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceKeyTime
Gets or sets the time at which the key frame's target Value.
Declaration
public KeyTime KeyTime { get; set; }
Property Value
Type | Description |
---|---|
KeyTime | The time at which the key frame's current value should be equal to its Value property. The default is null. |
Value
Gets or sets the key frame's target value.
Declaration
public Color Value { get; set; }
Property Value
Type | Description |
---|---|
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. |
Explicit Interface Implementations
| Improve this Doc View SourceIKeyFrame.Value
Declaration
object IKeyFrame.Value { get; set; }
Returns
Type | Description |
---|---|
System.Object |