# C1.C1Preview.TableColCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_TableColCollection" data-uid="C1.C1Preview.TableColCollection" class="text-break">TableColCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents a collection of columns (objects of the <a class="xref" href="C1.C1Preview.TableCol.html">TableCol</a> type)
in a <a class="xref" href="C1.C1Preview.RenderTable.html">RenderTable</a>.</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="C1.C1Preview.Util.FastList.html">FastList</a></div>
    <div class="level2"><a class="xref" href="C1.C1Preview.TableVectorCollection.html">TableVectorCollection</a></div>
    <div class="level3"><span class="xref">TableColCollection</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>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.C1Preview.html">C1.C1Preview</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.PrintDocument.4.6.2.dll</h6>
  <h5 id="C1_C1Preview_TableColCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class TableColCollection : TableVectorCollection, IList, ICollection, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class TableColCollection
    Inherits TableVectorCollection
    Implements IList, ICollection, IEnumerable</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="C1_C1Preview_TableColCollection_Groups" data-uid="C1.C1Preview.TableColCollection.Groups">
          <a class="xref" href="C1.C1Preview.TableColCollection.Groups.html#C1_C1Preview_TableColCollection_Groups">Groups</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of column groups defined on the containing <a class="xref" href="C1.C1Preview.RenderTable.html">RenderTable</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_TableColCollection_Item_System_Int32_" data-uid="C1.C1Preview.TableColCollection.Item(System.Int32)">
          <a class="xref" href="C1.C1Preview.TableColCollection.Item.html#C1_C1Preview_TableColCollection_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.C1Preview.TableCol.html">TableCol</a> object corresponding to the column
at the specified index in the containing <a class="xref" href="C1.C1Preview.RenderTable.html">RenderTable</a>.
Note that a <a class="xref" href="C1.C1Preview.TableCol.html">TableCol</a> will be created if it has not been
initialized for that column index yet.
Use <a class="xref" href="C1.C1Preview.TableColCollection.FindCol.html#C1_C1Preview_TableColCollection_FindCol_System_Int32_">FindCol(int)</a> to get a column without creating it.</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_C1Preview_TableColCollection_FindCol_System_Int32_" data-uid="C1.C1Preview.TableColCollection.FindCol(System.Int32)">
          <a class="xref" href="C1.C1Preview.TableColCollection.FindCol.html#C1_C1Preview_TableColCollection_FindCol_System_Int32_">FindCol(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the <a class="xref" href="C1.C1Preview.TableCol.html">TableCol</a> with the specified index
(the <a class="xref" href="C1.C1Preview.TableVector.Ordinal.html#C1_C1Preview_TableVector_Ordinal">Ordinal</a> of the column),
or <b>null</b> if that <a class="xref" href="C1.C1Preview.TableCol.html">TableCol</a> object
has not been initialized.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
