Condividi tramite


CompositionObject.ConnectAnimation(String, CompositionAnimation) Metodo

Definizione

Connette e animazione.

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

Parametri

propertyName
String

Platform::String

winrt::hstring

Proprietà a cui applicare l'animazione.

animation
CompositionAnimation

Animazione.

Restituisce

Animatore della proprietà.

Commenti

Importante

Questa API esiste solo in Windows 10 versione 1507 (Build 10240).

Si applica a