I have an ObservableCollection<T> that implements the ISupportIncrementalLoading interface.
When I bind this collection to a normal gridview, everything works fine.
But when I change the ItemsPanel template to VariableSizedWrapGrid. Incremental loading no longer works.
Xaml that works:
<ItemsPanelTemplate> <VirtualizingStackPanel Orientation="Horizontal"/> </ItemsPanelTemplate>
Xaml that does not work:
<ItemsPanelTemplate> <VariableSizedWrapGrid Orientation="Vertical" ItemHeight="250" ItemWidth="250" Margin="0,0,80,0"/> </ItemsPanelTemplate>
I also found this and this . The VariableSizedWrapGrid statement does not support ISupportIncremetalLoading .
Is there anyone who wrote VariableSizedWrapGrid that supports incremental loading? Or an open source solution?
Preben huybrechts
source share