DoubleAnimationUsingPath.PathGeometry Property

Definition

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

public:
 property System::Windows::Media::PathGeometry ^ PathGeometry { System::Windows::Media::PathGeometry ^ get(); void set(System::Windows::Media::PathGeometry ^ value); };
public System.Windows.Media.PathGeometry PathGeometry { get; set; }
member this.PathGeometry : System.Windows.Media.PathGeometry with get, set
Public Property PathGeometry As PathGeometry

Property Value

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

Remarks

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.

Dependency Property Information

Identifier Field PathGeometryProperty
Metadata properties set to true None

Applies to

See also