Share via


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

屬性值

PathGeometry

用來產生這個動畫之輸出值的路徑。 預設值是 null

備註

在 Extensible Application Markup Language (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

相依性屬性資訊

識別碼欄位 PathGeometryProperty
中繼資料屬性設定為 true

適用於

另請參閱