# C1.C1Preview.TableRowCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_TableRowCollection" data-uid="C1.C1Preview.TableRowCollection" class="text-break">TableRowCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents a collection of rows (objects of the <a class="xref" href="C1.C1Preview.TableRow.html">TableRow</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">TableRowCollection</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.PrintDocument.4.8.dll</h6>
  <h5 id="C1_C1Preview_TableRowCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class TableRowCollection : TableVectorCollection, IList, ICollection, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class TableRowCollection
    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_TableRowCollection_Groups" data-uid="C1.C1Preview.TableRowCollection.Groups">
          <a class="xref" href="C1.C1Preview.TableRowCollection.Groups.html#C1_C1Preview_TableRowCollection_Groups">Groups</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of row groups defined on the containing <a class="xref" href="C1.C1Preview.RenderTable.html">RenderTable</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_TableRowCollection_Item_System_Int32_" data-uid="C1.C1Preview.TableRowCollection.Item(System.Int32)">
          <a class="xref" href="C1.C1Preview.TableRowCollection.Item.html#C1_C1Preview_TableRowCollection_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.C1Preview.TableRow.html">TableRow</a> object corresponding to the row
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.TableRow.html">TableRow</a> will be created if it has not been
initialized for that row index yet.
Use <a class="xref" href="C1.C1Preview.TableRowCollection.FindRow.html#C1_C1Preview_TableRowCollection_FindRow_System_Int32_">FindRow(int)</a> to get a row 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_TableRowCollection_FindRow_System_Int32_" data-uid="C1.C1Preview.TableRowCollection.FindRow(System.Int32)">
          <a class="xref" href="C1.C1Preview.TableRowCollection.FindRow.html#C1_C1Preview_TableRowCollection_FindRow_System_Int32_">FindRow(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the <a class="xref" href="C1.C1Preview.TableRow.html">TableRow</a> with the specified index
(the <a class="xref" href="C1.C1Preview.TableVector.Ordinal.html#C1_C1Preview_TableVector_Ordinal">Ordinal</a> of the row),
or <b>null</b> if that <a class="xref" href="C1.C1Preview.TableRow.html">TableRow</a> object
has not been initialized.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
