DoubleAnimationUsingPath.PathGeometry 属性

定义

指定用于生成此动画的输出值的几何图形。

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

属性值

用于生成此动画的输出值的路径。 默认值为 null

注解

在可扩展应用程序标记语言(XAML)中,可以使用特殊的缩写语法来描述路径。

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

有关标记语法的详细信息 PathGeometry ,请参阅 路径标记语法。 有关使用标记或代码创建路径的更多示例,请参阅 PathGeometry

Dependency 属性信息

物品 价值
标识符字段 PathGeometryProperty
元数据属性设置为 true 没有

适用于

另请参阅