Compartilhar via


CompositionObject.ConnectAnimation(String, CompositionAnimation) Método

Definição

Conecta e animação.

public:
 virtual CompositionPropertyAnimator ^ ConnectAnimation(Platform::String ^ propertyName, CompositionAnimation ^ animation) = ConnectAnimation;
CompositionPropertyAnimator ConnectAnimation(winrt::hstring const& propertyName, CompositionAnimation const& animation);
public CompositionPropertyAnimator ConnectAnimation(string propertyName, CompositionAnimation animation);
function connectAnimation(propertyName, animation)
Public Function ConnectAnimation (propertyName As String, animation As CompositionAnimation) As CompositionPropertyAnimator

Parâmetros

propertyName
String

Platform::String

winrt::hstring

A propriedade a ser animada.

animation
CompositionAnimation

A animação.

Retornos

O animador de propriedade.

Comentários

Importante

Essa API existe apenas no Windows 10, versão 1507 (Build 10240).

Aplica-se a