PathAnimationSource Enumeration
TOC
Collapse the table of content
Expand the table of content

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

Member nameDescription
Angle

Specifies the tangent angle of rotation during the progression along an animation sequence path.

X

Specifies the x-coordinate offset during the progression along an animation sequence path.

Y

Specifies 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
Available since 3.0
Return to top
Show:
© 2016 Microsoft