Export (0) Print
Expand All

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

public:
property PathGeometry^ PathGeometry {
	PathGeometry^ get ();
	void set (PathGeometry^ value);
}
<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 nullptr.

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
Show:
© 2015 Microsoft