Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ConnectedAnimationService.GetAnimation(String) 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.

Returns the animation with the specified key.

public:
 virtual ConnectedAnimation ^ GetAnimation(Platform::String ^ key) = GetAnimation;
ConnectedAnimation GetAnimation(winrt::hstring const& key);
public ConnectedAnimation GetAnimation(string key);
function getAnimation(key)
Public Function GetAnimation (key As String) As ConnectedAnimation

Parameters

key
String

Platform::String

winrt::hstring

The key for the animation.

Returns

The animation with the specified key; or null if no animation has been prepared for that key, or if the animation is no longer active.

Remarks

A ConnectedAnimation is no longer active when:

  • It has been canceled.
  • The animation has completed.
  • The source has expired (PrepareToAnimate was called and then the animation was not started for ~2 seconds).

Applies to


Feedback

Was this page helpful?