ListViewBase.TryStartConnectedAnimationAsync(ConnectedAnimation, Object, String) ListViewBase.TryStartConnectedAnimationAsync(ConnectedAnimation, Object, String) ListViewBase.TryStartConnectedAnimationAsync(ConnectedAnimation, Object, String) ListViewBase.TryStartConnectedAnimationAsync(ConnectedAnimation, Object, String) Method

Definition

Attempts to start the animation.

public : IAsyncOperation<Platform::Boolean> TryStartConnectedAnimationAsync(ConnectedAnimation animation, Platform::Object item, Platform::String elementName)
IAsyncOperation<bool> TryStartConnectedAnimationAsync(ConnectedAnimation animation, winrt::Windows::Foundation::IInspectable item, winrt::hstring elementName) const;
public IAsyncOperation<bool> TryStartConnectedAnimationAsync(ConnectedAnimation animation, Object item, String elementName)
Public Function TryStartConnectedAnimationAsync(animation As ConnectedAnimation, item As Object, elementName As String) As IAsyncOperation(Of bool)

Parameters

animation
ConnectedAnimation ConnectedAnimation

The animation to start.

item
Object Object

The data item that is animated into view.

elementName
String String

The name of the element in the ItemTemplate that provides the animated visual.

Returns

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)

See also