Dela via


ColorAnimation.From Property

Definition

Gets or sets the animation's starting value.

public:
 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"/>
-or-
<ColorAnimation From="referenceToColor"/>
- or -
<ColorAnimation>
  <ColorAnimation.From>
    <Color>colorString</Color>
  </ColorAnimation.From>
</ColorAnimation>

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