Partilhar via


CompositionObject.StartAnimationWithIAnimationObject Método

Definição

Conecta uma animação com a propriedade especificada do objeto de destino e inicia a animação.

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)

Parâmetros

target
IAnimationObject

O objeto que define a propriedade a ser animada.

propertyName
String

Platform::String

winrt::hstring

A propriedade à qual associar a animação.

animation
CompositionAnimation

A animação a ser associada à propriedade especificada.

Aplica-se a