CompositionObject.ConnectAnimation(String, CompositionAnimation) Méthode

Définition

Connecte et animation.

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

Paramètres

propertyName
String

Platform::String

winrt::hstring

Propriété à animer.

animation
CompositionAnimation

Animation.

Retours

Animateur de propriété.

Remarques

Important

Cette API existe uniquement dans Windows 10, version 1507 (build 10240).

S’applique à