# C1.Report.GroupDef

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Report_GroupDef" data-uid="C1.Report.GroupDef" class="text-break">GroupDef Class
</h1>
  <div class="markdown level0 summary"><p>Internal class defines grouping used to describe grouping in same way from different sources,
it is needed because group definition at the report level (<a class="xref" href="C1.Report.FlexReport.Groups.html#C1_Report_FlexReport_Groups">Groups</a>) different,
for example, from difinition in the Chart field.</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"><span class="xref">GroupDef</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Report.html">C1.Report</a></h6>
  <h6><strong>Assembly</strong>: C1.Report.dll</h6>
  <h5 id="C1_Report_GroupDef_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class GroupDef</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class GroupDef</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_Report_GroupDef__ctor" data-uid="C1.Report.GroupDef.#ctor">
          <a class="xref" href="C1.Report.GroupDef.-ctor.html#C1_Report_GroupDef__ctor">GroupDef()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Report_GroupDef_Expression" data-uid="C1.Report.GroupDef.Expression">
          <a class="xref" href="C1.Report.GroupDef.Expression.html">Expression</a>
        </td>
        <td class="markdown level1 summary"><p>Defines group expression.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_GroupDef_ExpressionInfo" data-uid="C1.Report.GroupDef.ExpressionInfo">
          <a class="xref" href="C1.Report.GroupDef.ExpressionInfo.html">ExpressionInfo</a>
        </td>
        <td class="markdown level1 summary"><p>Compiled <a class="xref" href="C1.Report.GroupDef.Expression.html">Expression</a>, used internally in <a class="xref" href="C1.Report.DataHandler.Group.html#C1_Report_DataHandler_Group_C1_Report_GroupDefList_C1_Report_ScriptEngine_ReportScriptContextBase_">Group(GroupDefList, ReportScriptContextBase)</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_GroupDef_FilterExpression" data-uid="C1.Report.GroupDef.FilterExpression">
          <a class="xref" href="C1.Report.GroupDef.FilterExpression.html">FilterExpression</a>
        </td>
        <td class="markdown level1 summary"><p>Defines filtering expression which can be used to filter instances of the groups.
Example: Sum(someField) &gt; 1000</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_GroupDef_FilterExpressionInfo" data-uid="C1.Report.GroupDef.FilterExpressionInfo">
          <a class="xref" href="C1.Report.GroupDef.FilterExpressionInfo.html">FilterExpressionInfo</a>
        </td>
        <td class="markdown level1 summary"><p>Compiled <a class="xref" href="C1.Report.GroupDef.FilterExpression.html">FilterExpression</a>, used internally in <a class="xref" href="C1.Report.DataHandler.Group.html#C1_Report_DataHandler_Group_C1_Report_GroupDefList_C1_Report_ScriptEngine_ReportScriptContextBase_">Group(GroupDefList, ReportScriptContextBase)</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_GroupDef_FilterOutValue" data-uid="C1.Report.GroupDef.FilterOutValue">
          <a class="xref" href="C1.Report.GroupDef.FilterOutValue.html">FilterOutValue</a>
        </td>
        <td class="markdown level1 summary"><p>Value for filter out instances.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_GroupDef_GroupName" data-uid="C1.Report.GroupDef.GroupName">
          <a class="xref" href="C1.Report.GroupDef.GroupName.html">GroupName</a>
        </td>
        <td class="markdown level1 summary"><p>The name of the group, use to identify the data scope of the group.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_GroupDef_SortExpression" data-uid="C1.Report.GroupDef.SortExpression">
          <a class="xref" href="C1.Report.GroupDef.SortExpression.html">SortExpression</a>
        </td>
        <td class="markdown level1 summary"><p>Defines the sorting expression, it can be used to sort group instances by the aggregate function.
For example: Sum(someField).
Direction of the sorting specified by the <a class="xref" href="C1.Report.GroupDef.Sorting.html">Sorting</a> property. If <a class="xref" href="C1.Report.GroupDef.SortExpression.html">SortExpression</a>
is not specified then groups sorted bu the value returned <a class="xref" href="C1.Report.GroupDef.Expression.html">Expression</a> expression.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_GroupDef_SortExpressionInfo" data-uid="C1.Report.GroupDef.SortExpressionInfo">
          <a class="xref" href="C1.Report.GroupDef.SortExpressionInfo.html">SortExpressionInfo</a>
        </td>
        <td class="markdown level1 summary"><p>Compiled <a class="xref" href="C1.Report.GroupDef.SortExpression.html">SortExpression</a>, used internally in <a class="xref" href="C1.Report.DataHandler.Group.html#C1_Report_DataHandler_Group_C1_Report_GroupDefList_C1_Report_ScriptEngine_ReportScriptContextBase_">Group(GroupDefList, ReportScriptContextBase)</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_GroupDef_Sorting" data-uid="C1.Report.GroupDef.Sorting">
          <a class="xref" href="C1.Report.GroupDef.Sorting.html">Sorting</a>
        </td>
        <td class="markdown level1 summary"><p>Defines the sorting for the group items.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_GroupDef_Source" data-uid="C1.Report.GroupDef.Source">
          <a class="xref" href="C1.Report.GroupDef.Source.html">Source</a>
        </td>
        <td class="markdown level1 summary"><p>The object producing thos GroupDef, it can be <a class="xref" href="C1.Report.Group.html">Group</a> or something else.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
