CompositionObject.StartAnimationWithIAnimationObject Metodo

Definizione

Connette un'animazione con la proprietà specificata dell'oggetto di destinazione e avvia l'animazione.

public:
 static void StartAnimationWithIAnimationObject(IAnimationObject ^ target, Platform::String ^ propertyName, CompositionAnimation ^ animation);
 static void StartAnimationWithIAnimationObject(IAnimationObject const& target, winrt::hstring const& propertyName, CompositionAnimation const& animation);
public static void StartAnimationWithIAnimationObject(IAnimationObject target, string propertyName, CompositionAnimation animation);
function startAnimationWithIAnimationObject(target, propertyName, animation)
Public Shared Sub StartAnimationWithIAnimationObject (target As IAnimationObject, propertyName As String, animation As CompositionAnimation)

Parametri

target
IAnimationObject

Oggetto che definisce la proprietà da animare.

propertyName
String

Platform::String

winrt::hstring

Proprietà a cui associare l'animazione.

animation
CompositionAnimation

Animazione da associare alla proprietà specificata.

Si applica a