Jaa


CompositionObject.TryGetAnimationController(String) Method

Definition

Returns an AnimationController for the animation running on the specified property.

public:
 virtual AnimationController ^ TryGetAnimationController(Platform::String ^ propertyName) = TryGetAnimationController;
AnimationController TryGetAnimationController(winrt::hstring const& propertyName);
public AnimationController TryGetAnimationController(string propertyName);
function tryGetAnimationController(propertyName)
Public Function TryGetAnimationController (propertyName As String) As AnimationController

Parameters

propertyName
String

Platform::String

winrt::hstring

The property being animated.

Returns

An instance of AnimationController for the specified animation, or null if the animation is not found.

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Applies to