ConnectedAnimation.TryStart ConnectedAnimation.TryStart ConnectedAnimation.TryStart ConnectedAnimation.TryStart Method

Definition

Overloads

TryStart(UIElement) TryStart(UIElement) TryStart(UIElement) TryStart(UIElement)

Attempts to start the animation.

TryStart(UIElement, IIterable<UIElement>) TryStart(UIElement, IIterable<UIElement>) TryStart(UIElement, IIterable<UIElement>) TryStart(UIElement, IIterable<UIElement>)

Attempts to start the animation on the destination element and specified secondary elements.

TryStart(UIElement) TryStart(UIElement) TryStart(UIElement) TryStart(UIElement)

Attempts to start the animation.

public : Platform::Boolean TryStart(UIElement destination)
bool TryStart(UIElement destination) const;
public bool TryStart(UIElement destination)
Public Function TryStart(destination As UIElement) As bool

Parameters

destination
UIElement UIElement

The element that is animated into view.

Returns

bool bool

true if the animation started; false if the animation has already been started, if it is no longer active, or if the destination element is the same as the source element.

TryStart(UIElement, IIterable<UIElement>) TryStart(UIElement, IIterable<UIElement>) TryStart(UIElement, IIterable<UIElement>) TryStart(UIElement, IIterable<UIElement>)

Attempts to start the animation on the destination element and specified secondary elements.

public : Platform::Boolean TryStart(UIElement destination, IIterable<UIElement> coordinatedElements)
bool TryStart(UIElement destination, IIterable<UIElement> coordinatedElements) const;
public bool TryStart(UIElement destination, IEnumerable<UIElement> coordinatedElements)
Public Function TryStart(destination As UIElement, coordinatedElements As IEnumerable(Of UIElement)) As bool

Parameters

destination
UIElement UIElement

The element that is animated into view.

coordinatedElements
IEnumerable<UIElement> IEnumerable<UIElement>

The collection of secondary elements. These elements will play an entrance animation where they travel alongside the connected animation target in a "coordinated animation".

Returns

bool bool

true if the animation started; false if the animation has already been started, if it is no longer active, or if the destination element is the same as the source element.

Additional features and requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)