# GrapeCity.ActiveReports.PageReportModel.Grouping

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_ActiveReports_PageReportModel_Grouping" data-uid="GrapeCity.ActiveReports.PageReportModel.Grouping" class="text-break">Grouping Class
</h1>
  <div class="markdown level0 summary"><p>Represents an element that defines the expressions by which to group the data.</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">Grouping</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.IValidateable.html">IValidateable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.html">GrapeCity.ActiveReports.PageReportModel</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Core.Rdl.dll</h6>
  <h5 id="GrapeCity_ActiveReports_PageReportModel_Grouping_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class Grouping : IValidateable</code></pre>
  </div>
  <h5 id="GrapeCity_ActiveReports_PageReportModel_Grouping_examples"><strong>Examples</strong></h5>
  <p>An example of creating a simple grouping:</p>
<pre><code class="lang-csharp">var grouping = new Grouping { Name = "TypeGroup", GroupExpressions = { "=Fields!Type.Value" } };</code></pre>

  <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="GrapeCity_ActiveReports_PageReportModel_Grouping__ctor" data-uid="GrapeCity.ActiveReports.PageReportModel.Grouping.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Grouping.-ctor.html#GrapeCity_ActiveReports_PageReportModel_Grouping__ctor">Grouping()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Grouping.html">Grouping</a> class.</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="GrapeCity_ActiveReports_PageReportModel_Grouping_Custom" data-uid="GrapeCity.ActiveReports.PageReportModel.Grouping.Custom">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Grouping.Custom.html#GrapeCity_ActiveReports_PageReportModel_Grouping_Custom">Custom</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets an information to be passed to the report output component.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Grouping_DataCollectionName" data-uid="GrapeCity.ActiveReports.PageReportModel.Grouping.DataCollectionName">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Grouping.DataCollectionName.html#GrapeCity_ActiveReports_PageReportModel_Grouping_DataCollectionName">DataCollectionName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a name to use for the data element for the collection of all instances of this group.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Grouping_DataElementName" data-uid="GrapeCity.ActiveReports.PageReportModel.Grouping.DataElementName">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Grouping.DataElementName.html#GrapeCity_ActiveReports_PageReportModel_Grouping_DataElementName">DataElementName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a name of the top-level XML element that represents the instances of this group.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Grouping_DataElementOutput" data-uid="GrapeCity.ActiveReports.PageReportModel.Grouping.DataElementOutput">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Grouping.DataElementOutput.html#GrapeCity_ActiveReports_PageReportModel_Grouping_DataElementOutput">DataElementOutput</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the item appears in a data rendering.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Grouping_DomainScope" data-uid="GrapeCity.ActiveReports.PageReportModel.Grouping.DomainScope">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Grouping.DomainScope.html#GrapeCity_ActiveReports_PageReportModel_Grouping_DomainScope">DomainScope</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a domain scope for grouping.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Grouping_Enabled" data-uid="GrapeCity.ActiveReports.PageReportModel.Grouping.Enabled">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Grouping.Enabled.html#GrapeCity_ActiveReports_PageReportModel_Grouping_Enabled">Enabled</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the grouping is enabled.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Grouping_Filters" data-uid="GrapeCity.ActiveReports.PageReportModel.Grouping.Filters">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Grouping.Filters.html#GrapeCity_ActiveReports_PageReportModel_Grouping_Filters">Filters</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the filters to apply to each instance of the group.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Grouping_GroupExpressions" data-uid="GrapeCity.ActiveReports.PageReportModel.Grouping.GroupExpressions">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Grouping.GroupExpressions.html#GrapeCity_ActiveReports_PageReportModel_Grouping_GroupExpressions">GroupExpressions</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a set of expressions by which to group the data.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Grouping_Label" data-uid="GrapeCity.ActiveReports.PageReportModel.Grouping.Label">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Grouping.Label.html#GrapeCity_ActiveReports_PageReportModel_Grouping_Label">Label</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a label to identify an instance of the group within the client UI, providing a user-friendly label for searching.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Grouping_Name" data-uid="GrapeCity.ActiveReports.PageReportModel.Grouping.Name">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Grouping.Name.html#GrapeCity_ActiveReports_PageReportModel_Grouping_Name">Name</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a name of the grouping.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Grouping_NewSection" data-uid="GrapeCity.ActiveReports.PageReportModel.Grouping.NewSection">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Grouping.NewSection.html#GrapeCity_ActiveReports_PageReportModel_Grouping_NewSection">NewSection</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the grouping is in its own section.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Grouping_PageBreak" data-uid="GrapeCity.ActiveReports.PageReportModel.Grouping.PageBreak">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Grouping.PageBreak.html#GrapeCity_ActiveReports_PageReportModel_Grouping_PageBreak">PageBreak</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the page break options.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Grouping_PageName" data-uid="GrapeCity.ActiveReports.PageReportModel.Grouping.PageName">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Grouping.PageName.html#GrapeCity_ActiveReports_PageReportModel_Grouping_PageName">PageName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a page name for grouping.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Grouping_Parent" data-uid="GrapeCity.ActiveReports.PageReportModel.Grouping.Parent">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Grouping.Parent.html#GrapeCity_ActiveReports_PageReportModel_Grouping_Parent">Parent</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets an expression that identifies the parent group in a recursive hierarchy.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Grouping_PrintFooterAtBottom" data-uid="GrapeCity.ActiveReports.PageReportModel.Grouping.PrintFooterAtBottom">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Grouping.PrintFooterAtBottom.html#GrapeCity_ActiveReports_PageReportModel_Grouping_PrintFooterAtBottom">PrintFooterAtBottom</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating that these rows should be printed at the bottom of the group.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Grouping_Variables" data-uid="GrapeCity.ActiveReports.PageReportModel.Grouping.Variables">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Grouping.Variables.html#GrapeCity_ActiveReports_PageReportModel_Grouping_Variables">Variables</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a collection of the variables for grouping.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Grouping_Validate_GrapeCity_ActiveReports_PageReportModel_ValidationContext_" data-uid="GrapeCity.ActiveReports.PageReportModel.Grouping.Validate(GrapeCity.ActiveReports.PageReportModel.ValidationContext)">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Grouping.Validate.html#GrapeCity_ActiveReports_PageReportModel_Grouping_Validate_GrapeCity_ActiveReports_PageReportModel_ValidationContext_">Validate(ValidationContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Validates the current state of the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Grouping.html">Grouping</a> object.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Rdl.Tools.CollectionExtensions.AddRange.html#GrapeCity_ActiveReports_Rdl_Tools_CollectionExtensions_AddRange__2___0_System_Collections_Generic_IEnumerable___1__">CollectionExtensions.AddRange&lt;TCollection, TItem&gt;(TCollection, IEnumerable&lt;TItem&gt;)</a>
  </div>

</div>
