AnimationBuilder.Start 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.
Overloads
Start(UIElement) |
Starts the animations present in the current AnimationBuilder instance. |
Start(UIElement, Action) |
Starts the animations present in the current AnimationBuilder instance. |
Start(UIElement, CancellationToken) |
Starts the animations present in the current AnimationBuilder instance, and registers a given cancellation token to stop running animations before they complete. |
Start(UIElement)
Starts the animations present in the current AnimationBuilder instance.
public void Start (Windows.UI.Xaml.UIElement element);
member this.Start : Windows.UI.Xaml.UIElement -> unit
Public Sub Start (element As UIElement)
Parameters
- element
- Windows.UI.Xaml.UIElement
The target Windows.UI.Xaml.UIElement to animate.
Applies to
Start(UIElement, Action)
Starts the animations present in the current AnimationBuilder instance.
public void Start (Windows.UI.Xaml.UIElement element, Action callback);
member this.Start : Windows.UI.Xaml.UIElement * Action -> unit
Public Sub Start (element As UIElement, callback As Action)
Parameters
- element
- Windows.UI.Xaml.UIElement
The target Windows.UI.Xaml.UIElement to animate.
- callback
- Action
The callback to invoke when the animation completes.
Applies to
Start(UIElement, CancellationToken)
Starts the animations present in the current AnimationBuilder instance, and registers a given cancellation token to stop running animations before they complete.
public void Start (Windows.UI.Xaml.UIElement element, System.Threading.CancellationToken token);
member this.Start : Windows.UI.Xaml.UIElement * System.Threading.CancellationToken -> unit
Public Sub Start (element As UIElement, token As CancellationToken)
Parameters
- element
- Windows.UI.Xaml.UIElement
The target Windows.UI.Xaml.UIElement to animate.
- token
- CancellationToken
The cancellation token to stop animations while they're running.