PathGeometry Property
Collapse the table of content
Expand the table of content

DoubleAnimationUsingPath.PathGeometry Property

 

Specifies the geometry used to generate this animation's output values.

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

public PathGeometry PathGeometry { get; set; }

Property Value

Type: System.Windows.Media.PathGeometry

The path used to generate this animation's output values. The default value is null.

In Extensible Application Markup Language (XAML), you can use a special abbreviated syntax to describe the path.

      <DoubleAnimationUsingPath.PathGeometry>  
        <PathGeometry Figures="M 10,100 C 35,0 135,0 160,100 180,190 285,200 310,100" />     
</DoubleAnimationUsingPath.PathGeometry>

For more information about PathGeometry markup syntax, see Path Markup Syntax. For more examples of creating a path using markup or code, see PathGeometry.

Identifier Field

PathGeometryProperty

Metadata properties set to true

None

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft