ListViewPersistenceHelper.SetRelativeScrollPositionAsync 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.
public:
static IAsyncAction ^ SetRelativeScrollPositionAsync(ListViewBase ^ listViewBase, Platform::String ^ relativeScrollPosition, ListViewKeyToItemHandler ^ keyToItemHandler);
/// [Windows.Foundation.Metadata.RemoteAsync]
static IAsyncAction SetRelativeScrollPositionAsync(ListViewBase const& listViewBase, winrt::hstring const& relativeScrollPosition, ListViewKeyToItemHandler const& keyToItemHandler);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncAction SetRelativeScrollPositionAsync(ListViewBase listViewBase, string relativeScrollPosition, ListViewKeyToItemHandler keyToItemHandler);
function setRelativeScrollPositionAsync(listViewBase, relativeScrollPosition, keyToItemHandler)
Public Shared Function SetRelativeScrollPositionAsync (listViewBase As ListViewBase, relativeScrollPosition As String, keyToItemHandler As ListViewKeyToItemHandler) As IAsyncAction
Parameters
- listViewBase
- ListViewBase
The ListView.
- relativeScrollPosition
-
String
Platform::String
winrt::hstring
The relative scroll position of the ListView.
- keyToItemHandler
- ListViewKeyToItemHandler
The method that will handle the retrieval of the ListView item given the key.
Returns
An asynchronous action.
- Attributes