# C1.Framework.GridColumnCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Framework_GridColumnCollection" data-uid="C1.Framework.GridColumnCollection" class="text-break">GridColumnCollection Class
</h1>
  <div class="markdown level0 summary"><p>GridColumn collection. Just an ElementList typed to get and set GridColumn objects.</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.arraylist">ArrayList</a></div>
    <div class="level2"><a class="xref" href="C1.Framework.ElementList.html">ElementList</a></div>
    <div class="level3"><span class="xref">GridColumnCollection</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.icloneable">ICloneable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Framework.html">C1.Framework</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.10.dll</h6>
  <h5 id="C1_Framework_GridColumnCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class GridColumnCollection : ElementList, IList, ICollection, IEnumerable, ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class GridColumnCollection
    Inherits ElementList
    Implements IList, ICollection, IEnumerable, ICloneable</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="C1_Framework_GridColumnCollection__ctor_C1_Framework_GridPanel_" data-uid="C1.Framework.GridColumnCollection.#ctor(C1.Framework.GridPanel)">
          <a class="xref" href="C1.Framework.GridColumnCollection.-ctor.html#C1_Framework_GridColumnCollection__ctor_C1_Framework_GridPanel_">GridColumnCollection(GridPanel)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Framework.GridColumnCollection.html">GridColumnCollection</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="C1_Framework_GridColumnCollection_Grid" data-uid="C1.Framework.GridColumnCollection.Grid">
          <a class="xref" href="C1.Framework.GridColumnCollection.Grid.html#C1_Framework_GridColumnCollection_Grid">Grid</a>
        </td>
        <td class="markdown level1 summary"><p>Return the reference to the owning grid.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_GridColumnCollection_Item_System_Int32_" data-uid="C1.Framework.GridColumnCollection.Item(System.Int32)">
          <a class="xref" href="C1.Framework.GridColumnCollection.Item.html#C1_Framework_GridColumnCollection_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="C1.Framework.GridColumn.html">GridColumn</a> at a specified index in the list.</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="C1_Framework_GridColumnCollection_Add" data-uid="C1.Framework.GridColumnCollection.Add">
          <a class="xref" href="C1.Framework.GridColumnCollection.Add.html#C1_Framework_GridColumnCollection_Add">Add()</a>
        </td>
        <td class="markdown level1 summary"><p>Adds an <a class="xref" href="C1.Framework.GridColumn.html">GridColumn</a> to the list.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_GridColumnCollection_Add_C1_Framework_GridColumn_" data-uid="C1.Framework.GridColumnCollection.Add(C1.Framework.GridColumn)">
          <a class="xref" href="C1.Framework.GridColumnCollection.Add.html#C1_Framework_GridColumnCollection_Add_C1_Framework_GridColumn_">Add(GridColumn)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds an <a class="xref" href="C1.Framework.GridColumn.html">GridColumn</a> to the list.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
