ListViewBase.PrepareConnectedAnimation(String, Object, String) Method

Definition

Returns a connected animation that's associated with the specified key, data item, and source element.

public:
 virtual ConnectedAnimation ^ PrepareConnectedAnimation(Platform::String ^ key, Platform::Object ^ item, Platform::String ^ elementName) = PrepareConnectedAnimation;
ConnectedAnimation PrepareConnectedAnimation(winrt::hstring const& key, IInspectable const& item, winrt::hstring const& elementName);
public ConnectedAnimation PrepareConnectedAnimation(string key, object item, string elementName);
function prepareConnectedAnimation(key, item, elementName)
Public Function PrepareConnectedAnimation (key As String, item As Object, elementName As String) As ConnectedAnimation

Parameters

key
String

Platform::String

winrt::hstring

The key for the animation.

item
Object

Platform::Object

IInspectable

The data item that is animated out of view.

elementName
String

Platform::String

winrt::hstring

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

Returns

The animation with the specified key.

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Applies to

See also