private object thisPageSummary()
{
var pageBoundary = CurrentRowInfoData.PagesBoundaries.OrderByDescending(x => x).Take(2).ToList();
if (!pageBoundary.Any()) return string.Empty;
int firstRowOfThePage, lastRowOfThePage;
if (pageBoundary.Count == 1)
{
firstRowOfThePage = 1;
lastRowOfThePage = pageBoundary[0];
}
else
{
firstRowOfThePage = pageBoundary[1] + 1;
lastRowOfThePage = pageBoundary[0];
}
var propertyName = _pdfRptCell.SharedData.PdfColumnAttributes.PropertyName;
var list = SummaryCellsData.Where(x => x.CellData.PropertyName == propertyName
&& x.OverallRowNumber >= firstRowOfThePage && x.OverallRowNumber <= lastRowOfThePage)
.ToList();
return _pdfRptCell.SharedData.PdfColumnAttributes.AggregateFunction.ProcessingBoundary(list);
}