# C1.C1Preview.TableVectorCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_TableVectorCollection" data-uid="C1.C1Preview.TableVectorCollection" class="text-break">TableVectorCollection Class
</h1>
  <div class="markdown level0 summary"><p>The abstract base class representing a collection of <a class="xref" href="C1.C1Preview.TableVector.html">TableVector</a> objects.
This is the base class for collections of table rows and columns,
accessible as <a class="xref" href="C1.C1Preview.RenderTable.Rows.html#C1_C1Preview_RenderTable_Rows">Rows</a> and <a class="xref" href="C1.C1Preview.RenderTable.Cols.html#C1_C1Preview_RenderTable_Cols">Cols</a>
on 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"><span class="xref">TableVectorCollection</span></div>
      <div class="level3"><a class="xref" href="C1.C1Preview.TableColCollection.html">TableColCollection</a></div>
      <div class="level3"><a class="xref" href="C1.C1Preview.TableRowCollection.html">TableRowCollection</a></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_TableVectorCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[C1ClassSerialization(true)]
public abstract class TableVectorCollection : FastList, IList, ICollection, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;C1ClassSerialization(True)&gt;
Public MustInherit Class TableVectorCollection
    Inherits FastList
    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_TableVectorCollection_Count" data-uid="C1.C1Preview.TableVectorCollection.Count">
          <a class="xref" href="C1.C1Preview.TableVectorCollection.Count.html#C1_C1Preview_TableVectorCollection_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the logical count of vectors (rows or columns) in the current collection.
Setting this property to <b>-1</b> (which is the default) ensures that <b>Count</b>
is calculated automatically.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_TableVectorCollection_Groups" data-uid="C1.C1Preview.TableVectorCollection.Groups">
          <a class="xref" href="C1.C1Preview.TableVectorCollection.Groups.html#C1_C1Preview_TableVectorCollection_Groups">Groups</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.C1Preview.TableVectorGroupCollection.html">TableVectorGroupCollection</a> object representing
the groups of vectors (rows or columns) defined on the current collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_TableVectorCollection_Owner" data-uid="C1.C1Preview.TableVectorCollection.Owner">
          <a class="xref" href="C1.C1Preview.TableVectorCollection.Owner.html#C1_C1Preview_TableVectorCollection_Owner">Owner</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.C1Preview.RenderTable.html">RenderTable</a> object containing the current collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_TableVectorCollection_VectorCount" data-uid="C1.C1Preview.TableVectorCollection.VectorCount">
          <a class="xref" href="C1.C1Preview.TableVectorCollection.VectorCount.html#C1_C1Preview_TableVectorCollection_VectorCount">VectorCount</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the physical count of vectors (rows or columns)
currently stored in this <a class="xref" href="C1.C1Preview.TableVectorCollection.html">TableVectorCollection</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="C1_C1Preview_TableVectorCollection_Delete_System_Int32_" data-uid="C1.C1Preview.TableVectorCollection.Delete(System.Int32)">
          <a class="xref" href="C1.C1Preview.TableVectorCollection.Delete.html#C1_C1Preview_TableVectorCollection_Delete_System_Int32_">Delete(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Deletes a row or column from the containing <a class="xref" href="C1.C1Preview.RenderTable.html">RenderTable</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_TableVectorCollection_Delete_System_Int32_System_Int32_" data-uid="C1.C1Preview.TableVectorCollection.Delete(System.Int32,System.Int32)">
          <a class="xref" href="C1.C1Preview.TableVectorCollection.Delete.html#C1_C1Preview_TableVectorCollection_Delete_System_Int32_System_Int32_">Delete(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Deletes a range of rows or columns from the containing <a class="xref" href="C1.C1Preview.RenderTable.html">RenderTable</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_TableVectorCollection_GetVectorCanSplit_System_Int32_" data-uid="C1.C1Preview.TableVectorCollection.GetVectorCanSplit(System.Int32)">
          <a class="xref" href="C1.C1Preview.TableVectorCollection.GetVectorCanSplit.html#C1_C1Preview_TableVectorCollection_GetVectorCanSplit_System_Int32_">GetVectorCanSplit(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the value of the <a class="xref" href="C1.C1Preview.TableVector.CanSplit.html#C1_C1Preview_TableVector_CanSplit">CanSplit</a> property of a <a class="xref" href="C1.C1Preview.TableVector.html">TableVector</a>
(row or column) identified by its index in a <a class="xref" href="C1.C1Preview.RenderTable.html">RenderTable</a>.
This method does not create the specified vector if it has not been initialized yet
(see <b>remarks</b> in <a class="xref" href="C1.C1Preview.TableVectorCollection.GetVectorSize.html#C1_C1Preview_TableVectorCollection_GetVectorSize_System_Int32_">GetVectorSize(int)</a> for details).</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_TableVectorCollection_GetVectorPageBreakBehavior_System_Int32_" data-uid="C1.C1Preview.TableVectorCollection.GetVectorPageBreakBehavior(System.Int32)">
          <a class="xref" href="C1.C1Preview.TableVectorCollection.GetVectorPageBreakBehavior.html#C1_C1Preview_TableVectorCollection_GetVectorPageBreakBehavior_System_Int32_">GetVectorPageBreakBehavior(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the value of the <a class="xref" href="C1.C1Preview.TableVector.PageBreakBehavior.html#C1_C1Preview_TableVector_PageBreakBehavior">PageBreakBehavior</a> property of a <a class="xref" href="C1.C1Preview.TableVector.html">TableVector</a>
(row or column) identified by its index in a <a class="xref" href="C1.C1Preview.RenderTable.html">RenderTable</a>.
This method does not create the specified vector if it has not been initialized yet
(see <b>remarks</b> in <a class="xref" href="C1.C1Preview.TableVectorCollection.GetVectorSize.html#C1_C1Preview_TableVectorCollection_GetVectorSize_System_Int32_">GetVectorSize(int)</a> for details).</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_TableVectorCollection_GetVectorSize_System_Int32_" data-uid="C1.C1Preview.TableVectorCollection.GetVectorSize(System.Int32)">
          <a class="xref" href="C1.C1Preview.TableVectorCollection.GetVectorSize.html#C1_C1Preview_TableVectorCollection_GetVectorSize_System_Int32_">GetVectorSize(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the size (height for rows, width for columns) of a <a class="xref" href="C1.C1Preview.TableVector.html">TableVector</a>
(row or column) identified by its index in a <a class="xref" href="C1.C1Preview.RenderTable.html">RenderTable</a>.
This method does not create the specified vector if it has not been initialized
(see <b>remarks</b> for details).</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_TableVectorCollection_GetVectorSizingMode_System_Int32_" data-uid="C1.C1Preview.TableVectorCollection.GetVectorSizingMode(System.Int32)">
          <a class="xref" href="C1.C1Preview.TableVectorCollection.GetVectorSizingMode.html#C1_C1Preview_TableVectorCollection_GetVectorSizingMode_System_Int32_">GetVectorSizingMode(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the effective <a class="xref" href="C1.C1Preview.TableSizingModeEnum.html">TableSizingModeEnum</a> of a <a class="xref" href="C1.C1Preview.TableVector.html">TableVector</a>
(row or column) identified by its index in a <a class="xref" href="C1.C1Preview.RenderTable.html">RenderTable</a>.
This method does not create the specified vector if it has not been initialized yet
(see <b>remarks</b> in <a class="xref" href="C1.C1Preview.TableVectorCollection.GetVectorSize.html#C1_C1Preview_TableVectorCollection_GetVectorSize_System_Int32_">GetVectorSize(int)</a> for details).</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_TableVectorCollection_GetVectorVisible_System_Int32_" data-uid="C1.C1Preview.TableVectorCollection.GetVectorVisible(System.Int32)">
          <a class="xref" href="C1.C1Preview.TableVectorCollection.GetVectorVisible.html#C1_C1Preview_TableVectorCollection_GetVectorVisible_System_Int32_">GetVectorVisible(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the value of the <a class="xref" href="C1.C1Preview.TableVector.Visible.html#C1_C1Preview_TableVector_Visible">Visible</a> property of a <a class="xref" href="C1.C1Preview.TableVector.html">TableVector</a>
(row or column) identified by its index in a <a class="xref" href="C1.C1Preview.RenderTable.html">RenderTable</a>.
This method does not create the specified vector if it has not been initialized yet
(see <b>remarks</b> in <a class="xref" href="C1.C1Preview.TableVectorCollection.GetVectorSize.html#C1_C1Preview_TableVectorCollection_GetVectorSize_System_Int32_">GetVectorSize(int)</a> for details).</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_TableVectorCollection_Insert_System_Int32_" data-uid="C1.C1Preview.TableVectorCollection.Insert(System.Int32)">
          <a class="xref" href="C1.C1Preview.TableVectorCollection.Insert.html#C1_C1Preview_TableVectorCollection_Insert_System_Int32_">Insert(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts a row or column into the containing <a class="xref" href="C1.C1Preview.RenderTable.html">RenderTable</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_TableVectorCollection_Insert_System_Int32_System_Int32_" data-uid="C1.C1Preview.TableVectorCollection.Insert(System.Int32,System.Int32)">
          <a class="xref" href="C1.C1Preview.TableVectorCollection.Insert.html#C1_C1Preview_TableVectorCollection_Insert_System_Int32_System_Int32_">Insert(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts a range of rows or columns into the containing <a class="xref" href="C1.C1Preview.RenderTable.html">RenderTable</a>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="seealso">See Also</h3>
  <div class="seealso">
      <div><a class="xref" href="C1.C1Preview.TableRowCollection.html">TableRowCollection</a></div>
      <div><a class="xref" href="C1.C1Preview.TableColCollection.html">TableColCollection</a></div>
      <div><a class="xref" href="C1.C1Preview.RenderTable.html">RenderTable</a></div>
  </div>

</div>
