public void CopySubHeadingAggregates() { if (this.m_innerHeadings != null) { int count = this.m_innerHeadings.Count; for (int i = 0; i < count; i++) { CustomReportItemHeading customReportItemHeading = this.m_innerHeadings[i]; customReportItemHeading.CopySubHeadingAggregates(); Tablix.CopyAggregates(customReportItemHeading.Aggregates, base.m_aggregates); Tablix.CopyAggregates(customReportItemHeading.PostSortAggregates, base.m_postSortAggregates); Tablix.CopyAggregates(customReportItemHeading.RecursiveAggregates, base.m_aggregates); } } }