Using the BPC InfiniteList Control

The InfiniteList control works like a classic list, but will fire an event  when the user scroll to the end of the list, so you’ll be able to load new items.

To use this list, you should use an ObservableCollection as ItemsSource (or the new elements can’t be shown).

<Phone:InfiniteList ItemsSource="{Binding}" ScrolledToEnd="InfiniteList_ScrolledToEnd" 
SelectedItemChanged="list_SelectedItemChanged" OnContinuumCompleted="list_OnContinuumCompleted"/>

This list also provides a continuum animation, you can use when a user select an item. You have these 2 methods : DoContinuumAnimationOnSelectedItem and RestoreContinuum

Last edited May 20, 2011 at 9:47 AM by guillaumelac, version 2


No comments yet.