# C1.WPF.FlexGrid.C1FlexGrid.IncludeInAggregate

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_FlexGrid_C1FlexGrid_IncludeInAggregate_" data-uid="C1.WPF.FlexGrid.C1FlexGrid.IncludeInAggregate*">IncludeInAggregate Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_FlexGrid_C1FlexGrid_IncludeInAggregate_" data-uid="C1.WPF.FlexGrid.C1FlexGrid.IncludeInAggregate*"></a>
<h4 id="C1_WPF_FlexGrid_C1FlexGrid_IncludeInAggregate_C1_WPF_FlexGrid_Row_C1_WPF_FlexGrid_Column_" data-uid="C1.WPF.FlexGrid.C1FlexGrid.IncludeInAggregate(C1.WPF.FlexGrid.Row,C1.WPF.FlexGrid.Column)">IncludeInAggregate(Row, Column)</h4>
<div class="markdown level1 summary"><p>Gets a value that determines whether a cell should be included in the aggregates
calculated with the <a class="xref" href="C1.WPF.FlexGrid.C1FlexGrid.GetAggregate.html#C1_WPF_FlexGrid_C1FlexGrid_GetAggregate_C1_WPF_FlexGrid_Aggregate_C1_WPF_FlexGrid_CellRange_">GetAggregate(Aggregate, CellRange)</a> method.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public virtual bool IncludeInAggregate(Row row, Column col)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overridable Function IncludeInAggregate(row As Row, col As Column) As Boolean</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.WPF.FlexGrid.Row.html">Row</a></td>
      <td><span class="parametername">row</span></td>
      <td><p><a class="xref" href="C1.WPF.FlexGrid.Row.html">Row</a> that contains the cell to be included in the aggregate.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.WPF.FlexGrid.Column.html">Column</a></td>
      <td><span class="parametername">col</span></td>
      <td><p><a class="xref" href="C1.WPF.FlexGrid.Column.html">Column</a> that contains the cell to be included in the aggregate.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p>True if the cell should be included in the aggregate calculation, false otherwise.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
