DoubleAnimationUsingPath.PathGeometry Property

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

Namespace:  System.Windows.Media.Animation
Assembly:  PresentationCore (in PresentationCore.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

'Declaration
Public Property PathGeometry As PathGeometry
<object>
  <object.PathGeometry>
    <PathGeometry .../>
  </object.PathGeometry>
</object>

Property Value

Type: System.Windows.Media.PathGeometry
The path used to generate this animation's output values. The default value is Nothing.

Identifier Field

PathGeometryProperty

Metadata properties set to true

None

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.

.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