ListViewPersistenceHelper.SetRelativeScrollPositionAsync(ListViewBase, String, ListViewKeyToItemHandler) ListViewPersistenceHelper.SetRelativeScrollPositionAsync(ListViewBase, String, ListViewKeyToItemHandler) ListViewPersistenceHelper.SetRelativeScrollPositionAsync(ListViewBase, String, ListViewKeyToItemHandler) ListViewPersistenceHelper.SetRelativeScrollPositionAsync(ListViewBase, String, ListViewKeyToItemHandler) Method

Definition

Begins an asynchronous action to set the relative scroll position of the ListView.

public : static IAsyncAction SetRelativeScrollPositionAsync(ListViewBase listViewBase, Platform::String relativeScrollPosition, ListViewKeyToItemHandler keyToItemHandler)
static IAsyncAction SetRelativeScrollPositionAsync(ListViewBase listViewBase, winrt::hstring relativeScrollPosition, ListViewKeyToItemHandler keyToItemHandler) const;
public static IAsyncAction SetRelativeScrollPositionAsync(ListViewBase listViewBase, String relativeScrollPosition, ListViewKeyToItemHandler keyToItemHandler)
Public Shared Function SetRelativeScrollPositionAsync(listViewBase As ListViewBase, relativeScrollPosition As String, keyToItemHandler As ListViewKeyToItemHandler) As IAsyncAction

Parameters

listViewBase
ListViewBase ListViewBase

The ListView.

relativeScrollPosition
String String

The relative scroll position of the ListView.

keyToItemHandler
ListViewKeyToItemHandler ListViewKeyToItemHandler

The method that will handle the retrieval of the ListView item given the key.

Returns

An asynchronous action.