ListViewPersistenceHelper.SetRelativeScrollPositionAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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
参数
- listViewBase
- ListViewBase
ListView。
- keyToItemHandler
- ListViewKeyToItemHandler
将处理对给定键的 ListView 项的检索的方法。
返回
异步操作。
- 属性