# C1.Win.FlexGrid.SubtotalEventArgs

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_FlexGrid_SubtotalEventArgs" data-uid="C1.Win.FlexGrid.SubtotalEventArgs" class="text-break">SubtotalEventArgs Class
</h1>
  <div class="markdown level0 summary"><p>Provides data for the <a class="xref" href="C1.Win.FlexGrid.C1FlexGridBase.BeforeSubtotal.html">BeforeSubtotal</a> and <a class="xref" href="C1.Win.FlexGrid.C1FlexGridBase.AfterSubtotal.html">AfterSubtotal</a> events.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.eventargs">EventArgs</a></div>
    <div class="level2"><span class="xref">SubtotalEventArgs</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.FlexGrid.html">C1.Win.FlexGrid</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.FlexGrid.10.dll</h6>
  <h5 id="C1_Win_FlexGrid_SubtotalEventArgs_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class SubtotalEventArgs : EventArgs</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class SubtotalEventArgs
    Inherits EventArgs</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_FlexGrid_SubtotalEventArgs__ctor_C1_Win_FlexGrid_AggregateEnum_System_Int32_System_Int32_System_Int32_System_Int32_System_String_System_Int32_System_Boolean_System_Int32_System_Int32_System_Object_C1_Win_FlexGrid_CellStyle_" data-uid="C1.Win.FlexGrid.SubtotalEventArgs.#ctor(C1.Win.FlexGrid.AggregateEnum,System.Int32,System.Int32,System.Int32,System.Int32,System.String,System.Int32,System.Boolean,System.Int32,System.Int32,System.Object,C1.Win.FlexGrid.CellStyle)">
          <a class="xref" href="C1.Win.FlexGrid.SubtotalEventArgs.-ctor.html#C1_Win_FlexGrid_SubtotalEventArgs__ctor_C1_Win_FlexGrid_AggregateEnum_System_Int32_System_Int32_System_Int32_System_Int32_System_String_System_Int32_System_Boolean_System_Int32_System_Int32_System_Object_C1_Win_FlexGrid_CellStyle_">SubtotalEventArgs(AggregateEnum, int, int, int, int, string, int, bool, int, int, object, CellStyle)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.Win.FlexGrid.SubtotalEventArgs.html">SubtotalEventArgs</a> object.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_FlexGrid_SubtotalEventArgs_AggregateValue" data-uid="C1.Win.FlexGrid.SubtotalEventArgs.AggregateValue">
          <a class="xref" href="C1.Win.FlexGrid.SubtotalEventArgs.AggregateValue.html#C1_Win_FlexGrid_SubtotalEventArgs_AggregateValue">AggregateValue</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the calculated aggregate value for the group.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_SubtotalEventArgs_Bottom" data-uid="C1.Win.FlexGrid.SubtotalEventArgs.Bottom">
          <a class="xref" href="C1.Win.FlexGrid.SubtotalEventArgs.Bottom.html#C1_Win_FlexGrid_SubtotalEventArgs_Bottom">Bottom</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the index of the bottom row in the group.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_SubtotalEventArgs_Cancel" data-uid="C1.Win.FlexGrid.SubtotalEventArgs.Cancel">
          <a class="xref" href="C1.Win.FlexGrid.SubtotalEventArgs.Cancel.html#C1_Win_FlexGrid_SubtotalEventArgs_Cancel">Cancel</a>
        </td>
        <td class="markdown level1 summary"><p>Whether to cancel the creation of the new subtotal row.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_SubtotalEventArgs_Caption" data-uid="C1.Win.FlexGrid.SubtotalEventArgs.Caption">
          <a class="xref" href="C1.Win.FlexGrid.SubtotalEventArgs.Caption.html#C1_Win_FlexGrid_SubtotalEventArgs_Caption">Caption</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text to insert in the new subtotal row.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_SubtotalEventArgs_Function" data-uid="C1.Win.FlexGrid.SubtotalEventArgs.Function">
          <a class="xref" href="C1.Win.FlexGrid.SubtotalEventArgs.Function.html#C1_Win_FlexGrid_SubtotalEventArgs_Function">Function</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.Win.FlexGrid.AggregateEnum.html">AggregateEnum</a> value that specifies the type of aggregate to calculate..</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_SubtotalEventArgs_GroupFrom" data-uid="C1.Win.FlexGrid.SubtotalEventArgs.GroupFrom">
          <a class="xref" href="C1.Win.FlexGrid.SubtotalEventArgs.GroupFrom.html#C1_Win_FlexGrid_SubtotalEventArgs_GroupFrom">GroupFrom</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the index of the first column in the range used to detect group breaks.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_SubtotalEventArgs_GroupTo" data-uid="C1.Win.FlexGrid.SubtotalEventArgs.GroupTo">
          <a class="xref" href="C1.Win.FlexGrid.SubtotalEventArgs.GroupTo.html#C1_Win_FlexGrid_SubtotalEventArgs_GroupTo">GroupTo</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the index of the last column in the range used to detect group breaks.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_SubtotalEventArgs_IsNewRow" data-uid="C1.Win.FlexGrid.SubtotalEventArgs.IsNewRow">
          <a class="xref" href="C1.Win.FlexGrid.SubtotalEventArgs.IsNewRow.html#C1_Win_FlexGrid_SubtotalEventArgs_IsNewRow">IsNewRow</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value that determines whether the subtotal row is a new row or the
subtotal is being added to an existing subtotal row.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_SubtotalEventArgs_Level" data-uid="C1.Win.FlexGrid.SubtotalEventArgs.Level">
          <a class="xref" href="C1.Win.FlexGrid.SubtotalEventArgs.Level.html#C1_Win_FlexGrid_SubtotalEventArgs_Level">Level</a>
        </td>
        <td class="markdown level1 summary"><p>Outline level to assign to the new subtotal rows.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_SubtotalEventArgs_NewRowIndex" data-uid="C1.Win.FlexGrid.SubtotalEventArgs.NewRowIndex">
          <a class="xref" href="C1.Win.FlexGrid.SubtotalEventArgs.NewRowIndex.html#C1_Win_FlexGrid_SubtotalEventArgs_NewRowIndex">NewRowIndex</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the index of the new subtotal row.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_SubtotalEventArgs_Style" data-uid="C1.Win.FlexGrid.SubtotalEventArgs.Style">
          <a class="xref" href="C1.Win.FlexGrid.SubtotalEventArgs.Style.html#C1_Win_FlexGrid_SubtotalEventArgs_Style">Style</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="C1.Win.FlexGrid.CellStyle.html">CellStyle</a> to be applied to the new subotal row.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_SubtotalEventArgs_Top" data-uid="C1.Win.FlexGrid.SubtotalEventArgs.Top">
          <a class="xref" href="C1.Win.FlexGrid.SubtotalEventArgs.Top.html#C1_Win_FlexGrid_SubtotalEventArgs_Top">Top</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the index of the top row in the group.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_SubtotalEventArgs_TotalOn" data-uid="C1.Win.FlexGrid.SubtotalEventArgs.TotalOn">
          <a class="xref" href="C1.Win.FlexGrid.SubtotalEventArgs.TotalOn.html#C1_Win_FlexGrid_SubtotalEventArgs_TotalOn">TotalOn</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the index of the column that contains values being aggregated.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
