ColorAnimation.From Property


Gets or sets the animation's starting value.

Equivalent WinUI property: Microsoft.UI.Xaml.Media.Animation.ColorAnimation.From.

 property IReference<Color> ^ From { IReference<Color> ^ get(); void set(IReference<Color> ^ value); };
IReference<Color> From();

void From(IReference<Color> value);
public System.Nullable<Color> From { get; set; }
var iReference = colorAnimation.from;
colorAnimation.from = iReference;
Public Property From As Nullable(Of Color)
<ColorAnimation From="colorString"/>
<ColorAnimation From="referenceToColor"/>
- or -

Property Value



The starting value of the animation. The default is null.

If you are programming using C# or Visual Basic, the type of this property is projected as Color?(a nullable Color ).

Applies to