Expand Minimize

PathAnimationSource Enumeration

Specifies the output property value of the path that is used to drive the animation.

Namespace:  System.Windows.Media.Animation
Assembly:  PresentationCore (in PresentationCore.dll)

public enum PathAnimationSource
<object property="enumerationMemberName" .../>

Member nameDescription
AngleSpecifies the tangent angle of rotation during the progression along an animation sequence path.
XSpecifies the x-coordinate offset during the progression along an animation sequence path.
YSpecifies the y-coordinate offset during the progression along an animation sequence path.

There are three possible output property values that a path animation can move along - PathAnimationSource.X, PathAnimationSource.Y, and PathAnimationSource.Angle. By specifying one of these values, you are telling the animation to use that property output value of the path to drive the animation. For example, if you are animating the property that specifies the x-coordinate of an object (i.e. TranslateTransform.X) using a PathAnimationSource of Y, then the animation will animate the x-coordinate of the object using the y-coordinates of the path.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft