ListViewPersistenceHelper.GetRelativeScrollPosition(ListViewBase, ListViewItemToKeyHandler) ListViewPersistenceHelper.GetRelativeScrollPosition(ListViewBase, ListViewItemToKeyHandler) ListViewPersistenceHelper.GetRelativeScrollPosition(ListViewBase, ListViewItemToKeyHandler) ListViewPersistenceHelper.GetRelativeScrollPosition(ListViewBase, ListViewItemToKeyHandler) Method

Definition

Retrieves the relative scroll position of the ListView.

public : static Platform::String GetRelativeScrollPosition(ListViewBase listViewBase, ListViewItemToKeyHandler itemToKeyHandler)
static winrt::hstring GetRelativeScrollPosition(ListViewBase listViewBase, ListViewItemToKeyHandler itemToKeyHandler) const;
public static string GetRelativeScrollPosition(ListViewBase listViewBase, ListViewItemToKeyHandler itemToKeyHandler)
Public Shared Function GetRelativeScrollPosition(listViewBase As ListViewBase, itemToKeyHandler As ListViewItemToKeyHandler) As string

Parameters

listViewBase
ListViewBase ListViewBase

The ListView object.

itemToKeyHandler
ListViewItemToKeyHandler ListViewItemToKeyHandler

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

Returns

string string

The relative scroll position of the ListView.