ColorAnimation.To Property

Definition

Gets or sets the animation's ending value.

public:
 property IReference<Color> ^ To { IReference<Color> ^ get(); void set(IReference<Color> ^ value); };
IReference<Color> To();

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

Property Value

The ending 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