CompositionObjectExtensions.StartAnimation 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.
Starts a given Windows.UI.Composition.CompositionAnimation on a target Windows.UI.Composition.CompositionObject.
public static void StartAnimation (this Windows.UI.Composition.CompositionObject compositionObject, Windows.UI.Composition.CompositionAnimation animation);
static member StartAnimation : Windows.UI.Composition.CompositionObject * Windows.UI.Composition.CompositionAnimation -> unit
<Extension()>
Public Sub StartAnimation (compositionObject As CompositionObject, animation As CompositionAnimation)
Parameters
- compositionObject
- Windows.UI.Composition.CompositionObject
The target Windows.UI.Composition.CompositionObject instance to animate.
- animation
- Windows.UI.Composition.CompositionAnimation
The Windows.UI.Composition.CompositionAnimation instance to run.
Remarks
This method requires animation
to have its Windows.UI.Composition.CompositionAnimation.Target property set.