ListViewBase.TryStartConnectedAnimationAsync(ConnectedAnimation, Object, String) Method

Definition

Attempts to start the animation.

public:
 virtual IAsyncOperation<bool> ^ TryStartConnectedAnimationAsync(ConnectedAnimation ^ animation, Platform::Object ^ item, Platform::String ^ elementName) = TryStartConnectedAnimationAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> TryStartConnectedAnimationAsync(ConnectedAnimation const & animation, IInspectable const & item, winrt::hstring const & elementName);
[Windows.Foundation.Metadata.RemoteAsync]
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 Boolean)

Parameters

animation
ConnectedAnimation

The animation to start.

item
Object

The data item that is animated into view.

elementName
String

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

Returns

Windows.Foundation.IAsyncOperation<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.RemoteAsyncAttribute

Applies to