1
我有一個水平方向的VirtualizingStackPanel。我正在尋找一種方法使ScrollViewer滾動到內容而不是像素。 我知道.NET 4.5帶來了ScrollUnit屬性,但我無法在WinRT上找到它。沒有ContentScroll也是。無法在Windows應用商店應用中設置ScrollUnit或ContentScroll
我有一個水平方向的VirtualizingStackPanel。我正在尋找一種方法使ScrollViewer滾動到內容而不是像素。 我知道.NET 4.5帶來了ScrollUnit屬性,但我無法在WinRT上找到它。沒有ContentScroll也是。無法在Windows應用商店應用中設置ScrollUnit或ContentScroll
ListViewBase
有一個ScrollIntoView
方法,這是你將用來滾動到項目。你可以簡單地滾動到列表控件中的任何給定項目。
請看看http://stackoverflow.com/questions/1150697/scrollviewer-contentscroll-is-missing – Xyroid