this.DataContext =newIncrementalLoadingCollection<SampleData>(async count =>{returnawaitthis.Service.LoadData(count);}) { BatchSize = 20 };
<telerik:RadDataGrid ItemsSource="{Binding}"/>It is as simple as that. You can further control the size of the chunks loaded.
By default RadDataGrid requests more items when your scrollbar approaches the end of the loaded data. However, in some situations explicit loading might be more desirable and RadDataGrid allows you to control this behavior by manually switching between Auto and Explicit loading modes.
<telerik:RadDataGrid ItemsSource="{Binding}" IncrementalLoadingMode="Explicit"/><telerik:RadDataGrid ItemsSource="{Binding}" IncrementalLoadingMode="Auto"/>In addition you can get notification when RadDataGrid tries to load data through its LoadMoreDataCommand.
You can download the RadControls for Windows 8 XAML and try it today!
Tsvyatko Konov was the Lead of UI for Xamarin and UI for UWP team.