# GrapeCity.ActiveReports.PageReportModel.CategoryGrouping

## Content

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



  <h1 id="GrapeCity_ActiveReports_PageReportModel_CategoryGrouping" data-uid="GrapeCity.ActiveReports.PageReportModel.CategoryGrouping" class="text-break">CategoryGrouping Class
</h1>
  <div class="markdown level0 summary"><p>The CategoryGrouping element defines the category level for a <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Chart.html">Chart</a>. The labels for the categories are displayed along the category axis.</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.marshalbyrefobject">MarshalByRefObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.component">Component</a></div>
    <div class="level3"><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ReportComponent.html">ReportComponent</a></div>
    <div class="level4"><span class="xref">CategoryGrouping</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.IReportComponent.html">IReportComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icomponent">IComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <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_CategoryGrouping_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class CategoryGrouping : ReportComponent, IReportComponent, IComponent, IDisposable, IValidateable</code></pre>
  </div>
  <h5 id="GrapeCity_ActiveReports_PageReportModel_CategoryGrouping_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>A <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.CategoryGrouping.html">CategoryGrouping</a> object must have either a defined <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.CategoryGrouping.DynamicCategories.html#GrapeCity_ActiveReports_PageReportModel_CategoryGrouping_DynamicCategories">DynamicCategories</a> or a defined <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.CategoryGrouping.StaticCategories.html#GrapeCity_ActiveReports_PageReportModel_CategoryGrouping_StaticCategories">StaticCategories</a> property, but not both.</p>
</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="GrapeCity_ActiveReports_PageReportModel_CategoryGrouping__ctor" data-uid="GrapeCity.ActiveReports.PageReportModel.CategoryGrouping.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.CategoryGrouping.-ctor.html#GrapeCity_ActiveReports_PageReportModel_CategoryGrouping__ctor">CategoryGrouping()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.CategoryGrouping.html">CategoryGrouping</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_CategoryGrouping_DynamicCategories" data-uid="GrapeCity.ActiveReports.PageReportModel.CategoryGrouping.DynamicCategories">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.CategoryGrouping.DynamicCategories.html#GrapeCity_ActiveReports_PageReportModel_CategoryGrouping_DynamicCategories">DynamicCategories</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the dynamic category headings for the grouping.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_CategoryGrouping_StaticCategories" data-uid="GrapeCity.ActiveReports.PageReportModel.CategoryGrouping.StaticCategories">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.CategoryGrouping.StaticCategories.html#GrapeCity_ActiveReports_PageReportModel_CategoryGrouping_StaticCategories">StaticCategories</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the static category headings for the 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_CategoryGrouping_Validate_GrapeCity_ActiveReports_PageReportModel_ValidationContext_" data-uid="GrapeCity.ActiveReports.PageReportModel.CategoryGrouping.Validate(GrapeCity.ActiveReports.PageReportModel.ValidationContext)">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.CategoryGrouping.Validate.html#GrapeCity_ActiveReports_PageReportModel_CategoryGrouping_Validate_GrapeCity_ActiveReports_PageReportModel_ValidationContext_">Validate(ValidationContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Validates the information in each property of the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.CategoryGrouping.html">CategoryGrouping</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>
      <a class="xref" href="GrapeCity.ActiveReports.Rdl.Tools.ReportItemExtensions.Clone.html#GrapeCity_ActiveReports_Rdl_Tools_ReportItemExtensions_Clone__1___0_">ReportItemExtensions.Clone&lt;TItem&gt;(TItem)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.RomUtils.GetReportFromComponent.html#GrapeCity_ActiveReports_PageReportModel_RomUtils_GetReportFromComponent_GrapeCity_ActiveReports_PageReportModel_IReportComponent_">RomUtils.GetReportFromComponent(IReportComponent)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.RomUtils.GetReportSectionFromComponent.html#GrapeCity_ActiveReports_PageReportModel_RomUtils_GetReportSectionFromComponent_GrapeCity_ActiveReports_PageReportModel_IReportComponent_">RomUtils.GetReportSectionFromComponent(IReportComponent)</a>
  </div>

</div>
