ImplicitAnimation<TValue,TKeyFrame>.GetAnimation 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.
Gets a Windows.UI.Composition.CompositionAnimation from the current node. This animation might be used either as an implicit show/hide animation, or as a direct implicit animation.
public Windows.UI.Composition.CompositionAnimation GetAnimation (Windows.UI.Xaml.UIElement element, out string? target);
abstract member GetAnimation : Windows.UI.Xaml.UIElement * string -> Windows.UI.Composition.CompositionAnimation
override this.GetAnimation : Windows.UI.Xaml.UIElement * string -> Windows.UI.Composition.CompositionAnimation
Public Function GetAnimation (element As UIElement, ByRef target As String) As CompositionAnimation
Parameters
- element
- Windows.UI.Xaml.UIElement
The target Windows.UI.Xaml.UIElement the animation will be applied to.
- target
- String
The optional target property for the animation. This might be used for direct implicit animations that target a property but want to be triggered according to a separate property.
Returns
A new Windows.UI.Composition.CompositionAnimation instance.