Aracılığıyla paylaş


CompositionObject.ConnectAnimation(String, CompositionAnimation) Method

Definition

Connects and 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

Parameters

propertyName
String

Platform::String

winrt::hstring

The property to animate.

animation
CompositionAnimation

The animation.

Returns

The property animator.

Remarks

Important

This API exists only in Windows 10, version 1507 (Build 10240).

Applies to