4

I need to do some work when the user scrolls to the end of a ScrollViewer in a Windows 8 'Metro UI' app that uses .xaml with C# behind-code. Alternatively, the ScrollViewer has snap-points enabled, so detecting a "snapping" event will also work.

Thanks

Beej
  • 61
  • 1
  • 3

3 Answers3

7

You can bind your ListView to collection that implements ISupportIncrementalLoading.

The extra items will be loaded automatically when there is an empty space to fill.

Andrea
  • 724
  • 1
  • 8
  • 12
2

Maybe this could help: http://mikaelkoskinen.net/winrt-xaml-automatically-scrolling-listview-to-bottom-and-detecting-when-listview-is-scrolled

I'm not sure it works when getting back from snapped-mode, haven't tried it yet.

Cheers

Adam
  • 21
  • 1
1

Maybe this would be helpful - Add Items to ListBox when scroll reaches the end in Windows phone?

Not Windows 8 exactly, but still XAML.

Community
  • 1
  • 1
Oleg
  • 422
  • 3
  • 13