ListViewPersistenceHelper.SetRelativeScrollPositionAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public:
static IAsyncAction ^ SetRelativeScrollPositionAsync(ListViewBase ^ listViewBase, Platform::String ^ relativeScrollPosition, ListViewKeyToItemHandler ^ 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 專案的擷取。
傳回
異步動作。
- 屬性