# C1.Web.Mvc.Grid.Aggregate

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_Web_Mvc_Grid_Aggregate" data-uid="C1.Web.Mvc.Grid.Aggregate" class="text-break">Aggregate Enum
</h1>
  <div class="markdown level0 summary"><p>Specifies the type of aggregate to calculate over a group of values.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.Grid.html">C1.Web.Mvc.Grid</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.dll</h6>
  <h5 id="C1_Web_Mvc_Grid_Aggregate_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum Aggregate</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum Aggregate</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="C1_Web_Mvc_Grid_Aggregate_Avg">Avg</td>
        <td><p>Returns the average value of the numeric values in the group.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Grid_Aggregate_Cnt">Cnt</td>
        <td><p>Returns the count of non-null values in the group.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Grid_Aggregate_CntAll">CntAll</td>
        <td><p>Returns the count of all values in the group (including nulls).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Grid_Aggregate_First">First</td>
        <td><p>Returns the first non-null value in the group.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Grid_Aggregate_Last">Last</td>
        <td><p>Returns the last non-null value in the group.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Grid_Aggregate_Max">Max</td>
        <td><p>Returns the maximum value in the group.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Grid_Aggregate_Min">Min</td>
        <td><p>Returns the minimum value in the group.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Grid_Aggregate_None">None</td>
        <td><p>No aggregate.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Grid_Aggregate_Rng">Rng</td>
        <td><p>Returns the difference between the maximum and minimum numeric values in the group.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Grid_Aggregate_Std">Std</td>
        <td><p>Returns the sample standard deviation of the numeric values in the group (uses the formula based on n-1).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Grid_Aggregate_StdPop">StdPop</td>
        <td><p>Returns the population standard deviation of the values in the group (uses the formula based on n).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Grid_Aggregate_Sum">Sum</td>
        <td><p>Returns the sum of the numeric values in the group.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Grid_Aggregate_Var">Var</td>
        <td><p>Returns the sample variance of the numeric values in the group (uses the formula based on n-1).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Grid_Aggregate_VarPop">VarPop</td>
        <td><p>Returns the population variance of the values in the group (uses the formula based on n).</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
