# C1.C1Preview.TableCol

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_TableCol" data-uid="C1.C1Preview.TableCol" class="text-break">TableCol Class
</h1>
  <div class="markdown level0 summary"><p>Represents a column of 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.TableVector.html">TableVector</a></div>
    <div class="level2"><span class="xref">TableCol</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icomparable">IComparable</a></div>
    <div><a class="xref" href="C1.C1Preview.IStyleOwner.html">IStyleOwner</a></div>
    <div><a class="xref" href="C1.C1Preview.IDocumentLocation.html">IDocumentLocation</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_TableCol_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class TableCol : TableVector, IComparable, IStyleOwner, IDocumentLocation</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class TableCol
    Inherits TableVector
    Implements IComparable, IStyleOwner, IDocumentLocation</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_TableCol_Item_System_Int32_" data-uid="C1.C1Preview.TableCol.Item(System.Int32)">
          <a class="xref" href="C1.C1Preview.TableCol.Item.html#C1_C1Preview_TableCol_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.C1Preview.TableCell.html">TableCell</a> at the specified row index.
This property always returns a non-<b>null</b><a class="xref" href="C1.C1Preview.TableCell.html">TableCell</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_TableCol_Owner" data-uid="C1.C1Preview.TableCol.Owner">
          <a class="xref" href="C1.C1Preview.TableCol.Owner.html#C1_C1Preview_TableCol_Owner">Owner</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.C1Preview.TableColCollection.html">TableColCollection</a> containing the current column.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_TableCol_Stretch" data-uid="C1.C1Preview.TableCol.Stretch">
          <a class="xref" href="C1.C1Preview.TableCol.Stretch.html#C1_C1Preview_TableCol_Stretch">Stretch</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="C1.C1Preview.StretchColumnEnum.html">StretchColumnEnum</a> mode of the current column.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_TableCol_Width" data-uid="C1.C1Preview.TableCol.Width">
          <a class="xref" href="C1.C1Preview.TableCol.Width.html#C1_C1Preview_TableCol_Width">Width</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the width of the current column.</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_TableCol_AssignFrom_C1_C1Preview_TableVector_" data-uid="C1.C1Preview.TableCol.AssignFrom(C1.C1Preview.TableVector)">
          <a class="xref" href="C1.C1Preview.TableCol.AssignFrom.html#C1_C1Preview_TableCol_AssignFrom_C1_C1Preview_TableVector_">AssignFrom(TableVector)</a>
        </td>
        <td class="markdown level1 summary"><p>Assigns (copies) properties from another <a class="xref" href="C1.C1Preview.TableVector.html">TableVector</a> to the current object.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="seealso">See Also</h3>
  <div class="seealso">
      <div><a class="xref" href="C1.C1Preview.TableRow.html">TableRow</a></div>
      <div><a class="xref" href="C1.C1Preview.TableCell.html">TableCell</a></div>
  </div>

</div>
