CompositionObject.ConnectAnimation(String, CompositionAnimation) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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).