Udostępnij za pośrednictwem


PointAnimation.From Property

Definition

Gets or sets the animation's starting value.

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

void From(IReference<Point> value);
public System.Nullable<Point> From { get; set; }
var iReference = pointAnimation.from;
pointAnimation.from = iReference;
Public Property From As Nullable(Of Point)
<PointAnimation From=x,y"/>

Property Value

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

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

Remarks

A PointAnimation typically has at least one of the From, By or To properties set, but never all three. For more info, see Remarks in PointAnimation.

The null default value indicates that the base non-animated value is the default value for From, not that the animated value is literally null. The base non-animated value is determined at run time by the dependency property system. For more info, see Dependency properties overview.

Applies to