語言

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。

相依財產資訊

Item 價值觀
標識元欄位 PathGeometryProperty
元資料屬性設為 true None

適用於

另請參閱