# GrapeCity.ActiveReports.PageReportModel.HeaderFooter

## Content

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



  <h1 id="GrapeCity_ActiveReports_PageReportModel_HeaderFooter" data-uid="GrapeCity.ActiveReports.PageReportModel.HeaderFooter" class="text-break">HeaderFooter Class
</h1>
  <div class="markdown level0 summary"><p>Represents a base class for header or footer component of a table or group, containing rows.</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">HeaderFooter</span></div>
      <div class="level5"><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Footer.html">Footer</a></div>
      <div class="level5"><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Header.html">Header</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.IReportComponentContainer.html">IReportComponentContainer</a></div>
    <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_HeaderFooter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class HeaderFooter : ReportComponent, IReportComponentContainer, IReportComponent, IComponent, IDisposable, IValidateable</code></pre>
  </div>
  <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_HeaderFooter_Components" data-uid="GrapeCity.ActiveReports.PageReportModel.HeaderFooter.Components">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.HeaderFooter.Components.html#GrapeCity_ActiveReports_PageReportModel_HeaderFooter_Components">Components</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ReportComponentCollection.html">ReportComponentCollection</a> containing all the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ReportComponent.html">ReportComponent</a> in the container.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_HeaderFooter_RepeatOnNewPage" data-uid="GrapeCity.ActiveReports.PageReportModel.HeaderFooter.RepeatOnNewPage">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.HeaderFooter.RepeatOnNewPage.html#GrapeCity_ActiveReports_PageReportModel_HeaderFooter_RepeatOnNewPage">RepeatOnNewPage</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the footer or header should be displayed on each page on
which the table or group is displayed.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_HeaderFooter_TableRows" data-uid="GrapeCity.ActiveReports.PageReportModel.HeaderFooter.TableRows">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.HeaderFooter.TableRows.html#GrapeCity_ActiveReports_PageReportModel_HeaderFooter_TableRows">TableRows</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the footer or header rows for the table or group.</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_HeaderFooter_Validate_GrapeCity_ActiveReports_PageReportModel_ValidationContext_" data-uid="GrapeCity.ActiveReports.PageReportModel.HeaderFooter.Validate(GrapeCity.ActiveReports.PageReportModel.ValidationContext)">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.HeaderFooter.Validate.html#GrapeCity_ActiveReports_PageReportModel_HeaderFooter_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.HeaderFooter.html">HeaderFooter</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>
