Class ColorAnimation
Animates the value of a Color property between two target values using linear interpolation over a specified Duration.
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 sealed class ColorAnimation : AnimationTimeline
Fields
| Improve this Doc View SourceByProperty
Declaration
[NotImplemented]
public static readonly DependencyProperty ByProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
EasingFunctionProperty
Identifies the EasingFunction dependency property.
Declaration
public static readonly DependencyProperty EasingFunctionProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
FromProperty
Identifies the From dependency property.
Declaration
public static readonly DependencyProperty FromProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
ToProperty
Identifies the To dependency property.
Declaration
public static readonly DependencyProperty ToProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceBy
Declaration
[NotImplemented]
public Color? By { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<Color> |
EasingFunction
Gets or sets the easing function applied to this animation.
Declaration
public EasingFunctionBase EasingFunction { get; set; }
Property Value
Type | Description |
---|---|
EasingFunctionBase |
From
Gets or sets the animation's starting value.
Declaration
public Color? From { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<Color> |
To
Gets or sets the animation's ending value.
Declaration
public Color? To { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<Color> |