ConnectedAnimation.TryStart Method

Definition

Overloads

TryStart(UIElement)

Attempts to start the animation.

TryStart(UIElement, IEnumerable<UIElement>)

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

TryStart(UIElement)

Attempts to start the animation.

public:
 virtual bool TryStart(UIElement ^ destination) = TryStart;
/// [Windows.Foundation.Metadata.Overload("TryStart")]
bool TryStart(UIElement const & destination);
[Windows.Foundation.Metadata.Overload("TryStart")]
public bool TryStart(UIElement destination);
Public Function TryStart (destination As UIElement) As Boolean

Parameters

destination
UIElement

The element that is animated into view.

Returns

Boolean

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.

Attributes
Windows.Foundation.Metadata.OverloadAttribute

Applies to

TryStart(UIElement, IEnumerable<UIElement>)

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

public:
 virtual bool TryStart(UIElement ^ destination, IIterable<UIElement ^> ^ coordinatedElements) = TryStart;
/// [Windows.Foundation.Metadata.Overload("TryStartWithCoordinatedElements")]
bool TryStart(UIElement const & destination, IIterable<UIElement> const & coordinatedElements);
[Windows.Foundation.Metadata.Overload("TryStartWithCoordinatedElements")]
public bool TryStart(UIElement destination, IEnumerable<UIElement> coordinatedElements);
Public Function TryStart (destination As UIElement, coordinatedElements As IEnumerable(Of UIElement)) As Boolean

Parameters

destination
UIElement

The element that is animated into view.

coordinatedElements
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

Boolean

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.

Attributes
Windows.Foundation.Metadata.OverloadAttribute

Applies to