Connected.RegisterListItemForConnectedAnimation 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.
Registers an element (part of a DataTemplate in a list control) with the ConnectedAnimations service to run automatically on page navigation
public static void RegisterListItemForConnectedAnimation (this Windows.UI.Xaml.Controls.Page page, Windows.UI.Xaml.Controls.ListViewBase listViewBase, string key, string elementName);
static member RegisterListItemForConnectedAnimation : Windows.UI.Xaml.Controls.Page * Windows.UI.Xaml.Controls.ListViewBase * string * string -> unit
<Extension()>
Public Sub RegisterListItemForConnectedAnimation (page As Page, listViewBase As ListViewBase, key As String, elementName As String)
Parameters
- page
- Windows.UI.Xaml.Controls.Page
The parent page of the list control
- listViewBase
- Windows.UI.Xaml.Controls.ListViewBase
The list control (such as ListView or GridView)
- key
- String
The key of the element (same key will need to be used on another page)
- elementName
- String
The name of the element in the DataTemplate that should be animated