BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
[Mainpage.xaml.cs]
<sfPager:SfDataPager x:Name="dataPager"
OnDemandLoading="DataPager_OnDemandLoading"
UseOnDemandPaging="True"
NumericButtonCount="10"
PageSize="10"
PageCount="80"
Grid.Row="0"
/>
<sfGrid:SfDataGrid Grid.Row="1"
x:Name="dataGrid"
AutoGenerateColumns="False"
ColumnSizer="Star"
ItemsSource="{Binding PagedSource, Source={x:Reference dataPager}}">
.....
</sfGrid:SfDataGrid>
[Mainpage.xaml.cs]
private void DataPager_OnDemandLoading(object sender, Syncfusion.SfDataGrid.XForms.DataPager.OnDemandLoadingEventArgs e)
{
dataPager.LoadDynamicItems(e.StartIndex, viewModel.OrdersInfo.Skip(e.StartIndex).Take(e.PageSize));
}
|