ISupportIncrementalLoading inside ScrollViewer not supported?

前端 未结 1 1679
再見小時候
再見小時候 2020-12-21 15:31

I have a GridView with GridView.ItemsSource set to a collection that implements ISupportIncrementalLoading. By implementing this, I am aiming to improve load time and UI re

1条回答
  •  生来不讨喜
    2020-12-21 15:47

    You can fix that easily by setting the size of the GridView manually. Depending on your scenario you might do it once or perhaps handle the SizeChanged event on the ScrollViewer and set the size of the GridView based on the viewport size properties of the ScrollViewer.

    0 讨论(0)
提交回复
热议问题