# GrapeCity.ActiveReports.SectionReportModel.ControlCollection

## Content

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



  <h1 id="GrapeCity_ActiveReports_SectionReportModel_ControlCollection" data-uid="GrapeCity.ActiveReports.SectionReportModel.ControlCollection" class="text-break">ControlCollection Class
</h1>
  <div class="markdown level0 summary"><p>Summary description for ControlCollection.</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.collections.collectionbase">CollectionBase</a></div>
    <div class="level2"><span class="xref">ControlCollection</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.icollection">ICollection</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</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.SectionReportModel.html">GrapeCity.ActiveReports.SectionReportModel</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.dll</h6>
  <h5 id="GrapeCity_ActiveReports_SectionReportModel_ControlCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ControlCollection : CollectionBase, IList, ICollection, IEnumerable, 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_SectionReportModel_ControlCollection__ctor_GrapeCity_ActiveReports_SectionReportModel_Section_" data-uid="GrapeCity.ActiveReports.SectionReportModel.ControlCollection.#ctor(GrapeCity.ActiveReports.SectionReportModel.Section)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ControlCollection.-ctor.html#GrapeCity_ActiveReports_SectionReportModel_ControlCollection__ctor_GrapeCity_ActiveReports_SectionReportModel_Section_">ControlCollection(Section)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ControlCollection.html">ControlCollection</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_SectionReportModel_ControlCollection_Item_System_Int32_" data-uid="GrapeCity.ActiveReports.SectionReportModel.ControlCollection.Item(System.Int32)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ControlCollection.Item.html#GrapeCity_ActiveReports_SectionReportModel_ControlCollection_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a control in the collection at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ControlCollection_Item_System_String_" data-uid="GrapeCity.ActiveReports.SectionReportModel.ControlCollection.Item(System.String)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ControlCollection.Item.html#GrapeCity_ActiveReports_SectionReportModel_ControlCollection_Item_System_String_">this[string]</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a control in the collection with a specified name.</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_ControlCollection_Add_GrapeCity_ActiveReports_SectionReportModel_ARControl_" data-uid="GrapeCity.ActiveReports.SectionReportModel.ControlCollection.Add(GrapeCity.ActiveReports.SectionReportModel.ARControl)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ControlCollection.Add.html#GrapeCity_ActiveReports_SectionReportModel_ControlCollection_Add_GrapeCity_ActiveReports_SectionReportModel_ARControl_">Add(ARControl)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds the specified control to the control collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ControlCollection_AddRange_GrapeCity_ActiveReports_SectionReportModel_ARControl___" data-uid="GrapeCity.ActiveReports.SectionReportModel.ControlCollection.AddRange(GrapeCity.ActiveReports.SectionReportModel.ARControl[])">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ControlCollection.AddRange.html#GrapeCity_ActiveReports_SectionReportModel_ControlCollection_AddRange_GrapeCity_ActiveReports_SectionReportModel_ARControl___">AddRange(ARControl[])</a>
        </td>
        <td class="markdown level1 summary"><p>Adds an array of ARControl objects to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ControlCollection_Clear" data-uid="GrapeCity.ActiveReports.SectionReportModel.ControlCollection.Clear">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ControlCollection.Clear.html#GrapeCity_ActiveReports_SectionReportModel_ControlCollection_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all controls which were added to the collection using the Add method.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ControlCollection_Contains_GrapeCity_ActiveReports_SectionReportModel_ARControl_" data-uid="GrapeCity.ActiveReports.SectionReportModel.ControlCollection.Contains(GrapeCity.ActiveReports.SectionReportModel.ARControl)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ControlCollection.Contains.html#GrapeCity_ActiveReports_SectionReportModel_ControlCollection_Contains_GrapeCity_ActiveReports_SectionReportModel_ARControl_">Contains(ARControl)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the specified control is a member of the collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ControlCollection_CopyTo_GrapeCity_ActiveReports_SectionReportModel_ARControl___System_Int32_" data-uid="GrapeCity.ActiveReports.SectionReportModel.ControlCollection.CopyTo(GrapeCity.ActiveReports.SectionReportModel.ARControl[],System.Int32)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ControlCollection.CopyTo.html#GrapeCity_ActiveReports_SectionReportModel_ControlCollection_CopyTo_GrapeCity_ActiveReports_SectionReportModel_ARControl___System_Int32_">CopyTo(ARControl[], int)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies the controls collection from the specified report to a controls collection at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ControlCollection_Dispose" data-uid="GrapeCity.ActiveReports.SectionReportModel.ControlCollection.Dispose">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ControlCollection.Dispose.html#GrapeCity_ActiveReports_SectionReportModel_ControlCollection_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_ControlCollection_Dispose_System_Boolean_" data-uid="GrapeCity.ActiveReports.SectionReportModel.ControlCollection.Dispose(System.Boolean)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ControlCollection.Dispose.html#GrapeCity_ActiveReports_SectionReportModel_ControlCollection_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_ControlCollection_IndexOf_GrapeCity_ActiveReports_SectionReportModel_ARControl_" data-uid="GrapeCity.ActiveReports.SectionReportModel.ControlCollection.IndexOf(GrapeCity.ActiveReports.SectionReportModel.ARControl)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ControlCollection.IndexOf.html#GrapeCity_ActiveReports_SectionReportModel_ControlCollection_IndexOf_GrapeCity_ActiveReports_SectionReportModel_ARControl_">IndexOf(ARControl)</a>
        </td>
        <td class="markdown level1 summary"><p>Retrieves the index of the specified control in the control collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ControlCollection_Insert_System_Int32_GrapeCity_ActiveReports_SectionReportModel_ARControl_" data-uid="GrapeCity.ActiveReports.SectionReportModel.ControlCollection.Insert(System.Int32,GrapeCity.ActiveReports.SectionReportModel.ARControl)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ControlCollection.Insert.html#GrapeCity_ActiveReports_SectionReportModel_ControlCollection_Insert_System_Int32_GrapeCity_ActiveReports_SectionReportModel_ARControl_">Insert(int, ARControl)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts ArControl at the specified Index in ControlCollection of a Section.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ControlCollection_OnClear" data-uid="GrapeCity.ActiveReports.SectionReportModel.ControlCollection.OnClear">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ControlCollection.OnClear.html#GrapeCity_ActiveReports_SectionReportModel_ControlCollection_OnClear">OnClear()</a>
        </td>
        <td class="markdown level1 summary"><p>Performs additional custom processes when clearing the contents of the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.collectionbase">CollectionBase</a> instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ControlCollection_OnInsertComplete_System_Int32_System_Object_" data-uid="GrapeCity.ActiveReports.SectionReportModel.ControlCollection.OnInsertComplete(System.Int32,System.Object)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ControlCollection.OnInsertComplete.html#GrapeCity_ActiveReports_SectionReportModel_ControlCollection_OnInsertComplete_System_Int32_System_Object_">OnInsertComplete(int, object)</a>
        </td>
        <td class="markdown level1 summary"><p>OnInsertComplete</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ControlCollection_OnRemove_System_Int32_System_Object_" data-uid="GrapeCity.ActiveReports.SectionReportModel.ControlCollection.OnRemove(System.Int32,System.Object)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ControlCollection.OnRemove.html#GrapeCity_ActiveReports_SectionReportModel_ControlCollection_OnRemove_System_Int32_System_Object_">OnRemove(int, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs additional custom processes when removing an element from the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.collectionbase">CollectionBase</a> instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ControlCollection_Remove_GrapeCity_ActiveReports_SectionReportModel_ARControl_" data-uid="GrapeCity.ActiveReports.SectionReportModel.ControlCollection.Remove(GrapeCity.ActiveReports.SectionReportModel.ARControl)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ControlCollection.Remove.html#GrapeCity_ActiveReports_SectionReportModel_ControlCollection_Remove_GrapeCity_ActiveReports_SectionReportModel_ARControl_">Remove(ARControl)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the specified control from the control collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ControlCollection_RemoveAt_System_Int32_" data-uid="GrapeCity.ActiveReports.SectionReportModel.ControlCollection.RemoveAt(System.Int32)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ControlCollection.RemoveAt.html#GrapeCity_ActiveReports_SectionReportModel_ControlCollection_RemoveAt_System_Int32_">RemoveAt(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes control at specifed index.</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_ControlCollection_Changed" data-uid="GrapeCity.ActiveReports.SectionReportModel.ControlCollection.Changed">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ControlCollection.Changed.html">Changed</a>
        </td>
        <td class="markdown level1 summary"><p>Raised when an ARControl is added to or removed from the collection.</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>
