Share via


ListViewPersistenceHelper.GetRelativeScrollPosition Method

Definition

Retrieves the relative scroll position of the ListView.

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

Parameters

listViewBase
ListViewBase

The ListView object.

itemToKeyHandler
ListViewItemToKeyHandler

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

Returns

String

Platform::String

winrt::hstring

The relative scroll position of the ListView.

Applies to