DoubleAnimationUsingPath.PathGeometry Proprietà

Definizione

Specifica la geometria utilizzata per generare i valori di output di questa animazione.

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

Valore della proprietà

Percorso usato per generare i valori di output dell'animazione. Il valore predefinito è null.

Commenti

In Xaml (Extensible Application Markup Language) puoi usare una sintassi abbreviata speciale per descrivere il percorso.

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

Per altre informazioni sulla PathGeometry sintassi di markup, vedere Sintassi di markup del percorso. Per altri esempi di creazione di un percorso tramite markup o codice, vedere PathGeometry.

Informazioni sulle proprietà di dipendenza

Item Value
Campo identificatore PathGeometryProperty
Proprietà dei metadati impostate su true Nessuno

Si applica a

Vedi anche