Freigeben über


CompositionObject.ConnectAnimation(String, CompositionAnimation) Methode

Definition

Verbindet und 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

Parameter

propertyName
String

Platform::String

winrt::hstring

Die zu animierende Eigenschaft.

animation
CompositionAnimation

Die Animation.

Gibt zurück

Der Eigenschaftsanimator.

Hinweise

Wichtig

Diese API ist nur in Windows 10 Version 1507 (Build 10240) vorhanden.

Gilt für: