# GrapeCity.ActiveReports.PageReportModel.Container

## Content

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



  <h1 id="GrapeCity_ActiveReports_PageReportModel_Container" data-uid="GrapeCity.ActiveReports.PageReportModel.Container" class="text-break">Container Class
</h1>
  <div class="markdown level0 summary"><p>Represents a rectangle <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ReportItem.html">ReportItem</a> contained in the report definition.</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"><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ReportItem.html">ReportItem</a></div>
    <div class="level5"><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ShapeBase.html">ShapeBase</a></div>
    <div class="level6"><span class="xref">Container</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.IValidateable.html">IValidateable</a></div>
    <div><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.IRdlContainer.html">IRdlContainer</a></div>
    <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>
  <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_Container_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class Container : ShapeBase, IValidateable, IRdlContainer, IReportComponentContainer, IReportComponent, IComponent, IDisposable</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_PageReportModel_Container__ctor" data-uid="GrapeCity.ActiveReports.PageReportModel.Container.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Container.-ctor.html#GrapeCity_ActiveReports_PageReportModel_Container__ctor">Container()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Container.html">Container</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_Container_CanGrow" data-uid="GrapeCity.ActiveReports.PageReportModel.Container.CanGrow">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Container.CanGrow.html#GrapeCity_ActiveReports_PageReportModel_Container_CanGrow">CanGrow</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the container can grow when the size of its content is greater than the size of the container.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Container_Components" data-uid="GrapeCity.ActiveReports.PageReportModel.Container.Components">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Container.Components.html#GrapeCity_ActiveReports_PageReportModel_Container_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_Container_ConsumeWhiteSpace" data-uid="GrapeCity.ActiveReports.PageReportModel.Container.ConsumeWhiteSpace">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Container.ConsumeWhiteSpace.html#GrapeCity_ActiveReports_PageReportModel_Container_ConsumeWhiteSpace">ConsumeWhiteSpace</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating that all white space in the container is consumed during report rendering when the container’s contents grow,
rather than preserving the minimum white space between the contents and the bounds of the container.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Container_NewPage" data-uid="GrapeCity.ActiveReports.PageReportModel.Container.NewPage">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Container.NewPage.html#GrapeCity_ActiveReports_PageReportModel_Container_NewPage">NewPage</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating on which page the content should start after the page break.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Container_Overflow" data-uid="GrapeCity.ActiveReports.PageReportModel.Container.Overflow">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Container.Overflow.html#GrapeCity_ActiveReports_PageReportModel_Container_Overflow">Overflow</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating how content that is larger than the container should be handled.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Container_PageBreakAtEnd" data-uid="GrapeCity.ActiveReports.PageReportModel.Container.PageBreakAtEnd">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Container.PageBreakAtEnd.html#GrapeCity_ActiveReports_PageReportModel_Container_PageBreakAtEnd">PageBreakAtEnd</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether a page break occurs immediately after the container ends.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Container_PageBreakAtStart" data-uid="GrapeCity.ActiveReports.PageReportModel.Container.PageBreakAtStart">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Container.PageBreakAtStart.html#GrapeCity_ActiveReports_PageReportModel_Container_PageBreakAtStart">PageBreakAtStart</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether a page break occurs immediately before the container begins.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Container_PageName" data-uid="GrapeCity.ActiveReports.PageReportModel.Container.PageName">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Container.PageName.html#GrapeCity_ActiveReports_PageReportModel_Container_PageName">PageName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the string used for naming the sheet in Excel export.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Container_ReportItems" data-uid="GrapeCity.ActiveReports.PageReportModel.Container.ReportItems">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Container.ReportItems.html#GrapeCity_ActiveReports_PageReportModel_Container_ReportItems">ReportItems</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a collection of the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ReportItem.html">ReportItem</a> objects hosted in the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Container.html">Container</a>.</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_Container_GetExpressions" data-uid="GrapeCity.ActiveReports.PageReportModel.Container.GetExpressions">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Container.GetExpressions.html#GrapeCity_ActiveReports_PageReportModel_Container_GetExpressions">GetExpressions()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a list of the expressions contained by this report item.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Container_SortReportItems" data-uid="GrapeCity.ActiveReports.PageReportModel.Container.SortReportItems">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Container.SortReportItems.html#GrapeCity_ActiveReports_PageReportModel_Container_SortReportItems">SortReportItems()</a>
        </td>
        <td class="markdown level1 summary"><p>Sorts the report items to improve rendering performance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Container_Validate_GrapeCity_ActiveReports_PageReportModel_ValidationContext_" data-uid="GrapeCity.ActiveReports.PageReportModel.Container.Validate(GrapeCity.ActiveReports.PageReportModel.ValidationContext)">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Container.Validate.html#GrapeCity_ActiveReports_PageReportModel_Container_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.Container.html">Container</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>
      <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.RomUtils.IsContentPlaceHolder.html#GrapeCity_ActiveReports_PageReportModel_RomUtils_IsContentPlaceHolder_GrapeCity_ActiveReports_PageReportModel_ReportItem_">RomUtils.IsContentPlaceHolder(ReportItem)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Rdl.Tools.ReportExtensions.GetSelfAndAllDescendants.html#GrapeCity_ActiveReports_Rdl_Tools_ReportExtensions_GetSelfAndAllDescendants_GrapeCity_ActiveReports_PageReportModel_ReportItem_">ReportExtensions.GetSelfAndAllDescendants(ReportItem)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Rdl.Tools.ReportItemExtensions.GetReportItemTypeName.html#GrapeCity_ActiveReports_Rdl_Tools_ReportItemExtensions_GetReportItemTypeName_GrapeCity_ActiveReports_PageReportModel_ReportItem_">ReportItemExtensions.GetReportItemTypeName(ReportItem)</a>
  </div>

</div>
