ListViewBase.TryStartConnectedAnimationAsync 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);
function tryStartConnectedAnimationAsync(animation, item, 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

Platform::Object

IInspectable

The data item that is animated into view.

elementName
String

Platform::String

winrt::hstring

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.

Attributes

Applies to

See also