ConnectedAnimation.TryStart 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
TryStart(UIElement) |
Attempts to start the animation. |
TryStart(UIElement, IIterable<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;
bool TryStart(UIElement const& destination);
/// [Windows.Foundation.Metadata.Overload("TryStart")]
bool TryStart(UIElement const& destination);
public bool TryStart(UIElement destination);
[Windows.Foundation.Metadata.Overload("TryStart")]
public bool TryStart(UIElement destination);
function tryStart(destination)
Public Function TryStart (destination As UIElement) As Boolean
Parameters
- destination
- UIElement
The element that is animated into view.
Returns
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.
- Attributes
Applies to
TryStart(UIElement, IIterable<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);
function tryStart(destination, 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
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
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 requirements
Device family |
Windows 10 Creators Update (introduced in 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v4.0)
|