When grouping rows, SummaryRows determines where the summary rows for the groups are located. By default the summary rows are located below the groupings.

<p> public SummaryRowsLocation SummaryRows{ get; set; }</p>
<p>Public Property SummaryRows() As SummaryRowsLocation</p>

          //--- Get SummaryRows
          Worksheet.SummaryRowsLocation location = ws.SummaryRows;

          //--- Set SummaryRows
          ws.SummaryRows = Worksheet.SummaryLocation.Above;
        
          '--- Get SummaryRows
          Dim location As Worksheet.SummaryRowsLocation = ws.SummaryRows

          '--- Set SummaryRows
          ws.SummaryRows = Worksheet.SummaryLocation.Above