# GrapeCity.ActiveReports.SectionReportModel.Section

## Content

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



  <h1 id="GrapeCity_ActiveReports_SectionReportModel_Section" data-uid="GrapeCity.ActiveReports.SectionReportModel.Section" class="text-break">Section Class
</h1>
  <div class="markdown level0 summary"><p>Summary description for Section.</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">Section</span></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Detail.html">Detail</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.GroupFooter.html">GroupFooter</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.GroupHeader.html">GroupHeader</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.PageFooter.html">PageFooter</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.PageHeader.html">PageHeader</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ReportFooter.html">ReportFooter</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ReportHeader.html">ReportHeader</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <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.SectionReportModel.IPersistSection.html">IPersistSection</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.html">GrapeCity.ActiveReports.SectionReportModel</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.dll</h6>
  <h5 id="GrapeCity_ActiveReports_SectionReportModel_Section_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Section : IComponent, IDisposable, IPersistSection</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="GrapeCity_ActiveReports_SectionReportModel_Section__ctor" data-uid="GrapeCity.ActiveReports.SectionReportModel.Section.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Section.-ctor.html#GrapeCity_ActiveReports_SectionReportModel_Section__ctor">Section()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Section.html">Section</a> class.</p>
</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="GrapeCity_ActiveReports_SectionReportModel_Section__repeatToFill" data-uid="GrapeCity.ActiveReports.SectionReportModel.Section._repeatToFill">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Section._repeatToFill.html">_repeatToFill</a>
        </td>
        <td class="markdown level1 summary"><p>The repeat to fill flag</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_Section_m_height" data-uid="GrapeCity.ActiveReports.SectionReportModel.Section.m_height">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Section.m_height.html">m_height</a>
        </td>
        <td class="markdown level1 summary"></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_SectionReportModel_Section_BackColor" data-uid="GrapeCity.ActiveReports.SectionReportModel.Section.BackColor">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Section.BackColor.html#GrapeCity_ActiveReports_SectionReportModel_Section_BackColor">BackColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the background color of the section.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_Section_CanGrow" data-uid="GrapeCity.ActiveReports.SectionReportModel.Section.CanGrow">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Section.CanGrow.html#GrapeCity_ActiveReports_SectionReportModel_Section_CanGrow">CanGrow</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the section height should grow when its controls extend beyond its original height.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_Section_CanShrink" data-uid="GrapeCity.ActiveReports.SectionReportModel.Section.CanShrink">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Section.CanShrink.html#GrapeCity_ActiveReports_SectionReportModel_Section_CanShrink">CanShrink</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the section height should be adjusted to the exact total height of its controls.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_Section_Controls" data-uid="GrapeCity.ActiveReports.SectionReportModel.Section.Controls">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Section.Controls.html#GrapeCity_ActiveReports_SectionReportModel_Section_Controls">Controls</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a collection of all controls contained in the section.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_Section_CurrentLocation" data-uid="GrapeCity.ActiveReports.SectionReportModel.Section.CurrentLocation">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Section.CurrentLocation.html#GrapeCity_ActiveReports_SectionReportModel_Section_CurrentLocation">CurrentLocation</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the current location of the control.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_Section_Height" data-uid="GrapeCity.ActiveReports.SectionReportModel.Section.Height">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Section.Height.html#GrapeCity_ActiveReports_SectionReportModel_Section_Height">Height</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the height of the section.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_Section_IsRepeated" data-uid="GrapeCity.ActiveReports.SectionReportModel.Section.IsRepeated">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Section.IsRepeated.html#GrapeCity_ActiveReports_SectionReportModel_Section_IsRepeated">IsRepeated</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether this section is repeated.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_Section_Name" data-uid="GrapeCity.ActiveReports.SectionReportModel.Section.Name">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Section.Name.html#GrapeCity_ActiveReports_SectionReportModel_Section_Name">Name</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name of the section.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_Section_Site" data-uid="GrapeCity.ActiveReports.SectionReportModel.Section.Site">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Section.Site.html#GrapeCity_ActiveReports_SectionReportModel_Section_Site">Site</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isite">ISite</a> associated with the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icomponent">IComponent</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_Section_Tag" data-uid="GrapeCity.ActiveReports.SectionReportModel.Section.Tag">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Section.Tag.html#GrapeCity_ActiveReports_SectionReportModel_Section_Tag">Tag</a>
        </td>
        <td class="markdown level1 summary"><p>Tag</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_Section_Type" data-uid="GrapeCity.ActiveReports.SectionReportModel.Section.Type">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Section.Type.html#GrapeCity_ActiveReports_SectionReportModel_Section_Type">Type</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the section's type.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_Section_Visible" data-uid="GrapeCity.ActiveReports.SectionReportModel.Section.Visible">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Section.Visible.html#GrapeCity_ActiveReports_SectionReportModel_Section_Visible">Visible</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies whether the section should be printed or not.</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_SectionReportModel_Section_AddBookmark_System_String_" data-uid="GrapeCity.ActiveReports.SectionReportModel.Section.AddBookmark(System.String)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Section.AddBookmark.html#GrapeCity_ActiveReports_SectionReportModel_Section_AddBookmark_System_String_">AddBookmark(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a bookmark in the report's table of contents.
The bookmark will position the view at the start of the section if the bookmark is added in the section's Format event.
Bookmark text to be displayed in the table of contents treeview.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_Section_Dispose" data-uid="GrapeCity.ActiveReports.SectionReportModel.Section.Dispose">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Section.Dispose.html#GrapeCity_ActiveReports_SectionReportModel_Section_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"><p>Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_Section_Dispose_System_Boolean_" data-uid="GrapeCity.ActiveReports.SectionReportModel.Section.Dispose(System.Boolean)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Section.Dispose.html#GrapeCity_ActiveReports_SectionReportModel_Section_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Releases unmanaged and - optionally - managed resources.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_Section_SizeToFit" data-uid="GrapeCity.ActiveReports.SectionReportModel.Section.SizeToFit">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Section.SizeToFit.html#GrapeCity_ActiveReports_SectionReportModel_Section_SizeToFit">SizeToFit()</a>
        </td>
        <td class="markdown level1 summary"><p>Sizes the section to fit the contained controls.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_Section_SizeToFit_System_Boolean_" data-uid="GrapeCity.ActiveReports.SectionReportModel.Section.SizeToFit(System.Boolean)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Section.SizeToFit.html#GrapeCity_ActiveReports_SectionReportModel_Section_SizeToFit_System_Boolean_">SizeToFit(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Sizes the section to fit the contained controls and optionally allows the section to shrink to fit the contained controls.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_Section_AfterPrint" data-uid="GrapeCity.ActiveReports.SectionReportModel.Section.AfterPrint">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Section.AfterPrint.html">AfterPrint</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs after the section has been rendered to the page.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_Section_BeforePrint" data-uid="GrapeCity.ActiveReports.SectionReportModel.Section.BeforePrint">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Section.BeforePrint.html">BeforePrint</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs immediately before the section is rendered to the page.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_Section_Format" data-uid="GrapeCity.ActiveReports.SectionReportModel.Section.Format">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Section.Format.html">Format</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs after the section's data is loaded and bound to the section's controls, but before the section is rendered to the canvas.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.ReportsCore.Tools.ObjectExtensions.ApplyDefaults.html#GrapeCity_ActiveReports_ReportsCore_Tools_ObjectExtensions_ApplyDefaults__1___0_">ObjectExtensions.ApplyDefaults&lt;TObject&gt;(TObject)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.ReportsCore.Tools.ObjectExtensions.SetValue.html#GrapeCity_ActiveReports_ReportsCore_Tools_ObjectExtensions_SetValue__1___0_System_ComponentModel_PropertyDescriptor_System_String_">ObjectExtensions.SetValue&lt;TObject&gt;(TObject, PropertyDescriptor, string)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.ReportsCore.Tools.ObjectExtensions.ToNameValueCollection.html#GrapeCity_ActiveReports_ReportsCore_Tools_ObjectExtensions_ToNameValueCollection_System_Object_">ObjectExtensions.ToNameValueCollection(object)</a>
  </div>

</div>
