CompositionObject.TryGetAnimationController(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 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.