Επεξεργασία

Κοινή χρήση μέσω


PathAnimationSource Enum

Definition

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

public enum class PathAnimationSource
public enum PathAnimationSource
type PathAnimationSource = 
Public Enum PathAnimationSource
Inheritance
PathAnimationSource

Fields

Name Value Description
X 0

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

Y 1

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

Angle 2

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

Remarks

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

Applies to

See also