Class DoubleKeyFrame
An abstract class that defines an animation segment with its own target value and interpolation method for a DoubleAnimationUsingKeyFrames.
Inheritance
System.Object
DoubleKeyFrame
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 DoubleKeyFrame : DependencyObject, IKeyFrame
Fields
| Improve this Doc View SourceKeyTimeProperty
Declaration
public static readonly DependencyProperty KeyTimeProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
ValueProperty
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 should be reached.
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 double Value { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The key frame's target value, which is the value of this key frame at its specified KeyTime. The default is 0. |
Explicit Interface Implementations
| Improve this Doc View SourceIKeyFrame.Value
The value of this key frame at the KeyTime specified.
Declaration
object IKeyFrame.Value { get; set; }
Returns
Type | Description |
---|---|
System.Object |