-api-id | -api-type |
---|---|
P:Microsoft.UI.Xaml.Media.Animation.ColorAnimation.To |
winrt property |
Gets or sets the animation's ending value.
<ColorAnimation To="colorString"/>
-or-
<ColorAnimation To="referenceToColor"/>
- or -
<ColorAnimation>
<ColorAnimation.To>
<Color>colorString</Color>
</ColorAnimation.To>
</ColorAnimation>
- colorString
- colorStringA color specified as a string, using a variety of possible formats, including predefined named colors. For the full list of available string formats that can specify a Color as an attribute, see Color.
- referenceToColor
- referenceToColorA {StaticResource} markup extension reference or other reference to an existing color.
If you are programming using C# or Visual Basic, the type of this property is projected as Color?(a nullable Color).