public override Android.Views.View GetSampleContent(Android.Content.Context context) { sfDataPager = new SfDataPager(context); sfGrid = new SfDataGrid(context); sfGrid.SelectionMode = SelectionMode.Single; viewModel = new PagingViewModel(); sfDataPager.PageSize = 15; sfDataPager.Source = viewModel.OrdersInfo; sfDataPager.NumericButtonCount = 20; sfGrid.AutoGeneratingColumn += GridGenerateColumns; sfGrid.ItemsSource = sfDataPager.PagedSource; sfGrid.VerticalOverScrollMode = VerticalOverScrollMode.None; LinearLayout linearLayout = new LinearLayout(context); linearLayout.Orientation = Orientation.Vertical; linearLayout.AddView(sfDataPager, new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MatchParent, (int)SfDataGridHelpers.ConvertDpToPixels(this.sfGrid, 75))); linearLayout.AddView(sfGrid); return(linearLayout); }