Is it possible to use VirtualQueryableCollectionView with ItemsLoading event to get the data for my current scroll position? Now it looks like it is sending requests to get all data from the begin to my scroll position.
1 Answer, 1 is accepted
0
Zarko
Telerik team
answered on 26 Dec 2013, 01:31 PM
Hi Taras,
As far as we've tested all you have to do to make the RadTileView work with the VirtualQueryableCollectionView is turn on its virtualization (the UI virtualization is disabled by default) and set the RowHeight and ColumnWidth so that not all tiles are visible from the beginning:
<telerik:RadTileView x:Name="tileView"
ColumnWidth="300"
IsVirtualizing="True"
ItemTemplate="{StaticResource template}"
ItemsSource="{Binding }"
RowHeight="250"/>
This way only the visible items (and maybe some invisible - for better scrolling the tile view always generates 1 extra row) should be loaded in the view's ItemsLoading event.
I hope I was able to help you and if you have more questions please feel fee to ask.
Regards,
Zarko
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely. Sign up for Free application insights >>