# C1.C1Excel.XLColumn

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Excel_XLColumn" data-uid="C1.C1Excel.XLColumn" class="text-break">XLColumn Class
</h1>
  <div class="markdown level0 summary"><p>Represents a column in a worksheet. This class provides properties for setting
the column's width, style, and visibility.</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"><span class="xref">XLColumn</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <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.C1Excel.html">C1.C1Excel</a></h6>
  <h6><strong>Assembly</strong>: C1.C1Excel.4.8.dll</h6>
  <h5 id="C1_C1Excel_XLColumn_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class XLColumn : ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class XLColumn
    Implements ICloneable</code></pre>
  </div>
  <h5 id="C1_C1Excel_XLColumn_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>The <a class="xref" href="C1.C1Excel.XLColumn.html">XLColumn</a> objects do not contain any data. If you remove
a column from the collection, the data will be lost. If you later re-insert that
same column back into the collection, the column will be blank.</p>
</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_C1Excel_XLColumn__ctor" data-uid="C1.C1Excel.XLColumn.#ctor">
          <a class="xref" href="C1.C1Excel.XLColumn.-ctor.html#C1_C1Excel_XLColumn__ctor">XLColumn()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new instance of the <a class="xref" href="C1.C1Excel.XLColumn.html">XLColumn</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_C1Excel_XLColumn_Book" data-uid="C1.C1Excel.XLColumn.Book">
          <a class="xref" href="C1.C1Excel.XLColumn.Book.html#C1_C1Excel_XLColumn_Book">Book</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a reference to the parent <a class="xref" href="C1.C1Excel.C1XLBook.html">C1XLBook</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Excel_XLColumn_Collapsed" data-uid="C1.C1Excel.XLColumn.Collapsed">
          <a class="xref" href="C1.C1Excel.XLColumn.Collapsed.html#C1_C1Excel_XLColumn_Collapsed">Collapsed</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets collapsed flag for the column.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Excel_XLColumn_IsSubtotal" data-uid="C1.C1Excel.XLColumn.IsSubtotal">
          <a class="xref" href="C1.C1Excel.XLColumn.IsSubtotal.html#C1_C1Excel_XLColumn_IsSubtotal">IsSubtotal</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether the column is subtotal.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Excel_XLColumn_OutlineLevel" data-uid="C1.C1Excel.XLColumn.OutlineLevel">
          <a class="xref" href="C1.C1Excel.XLColumn.OutlineLevel.html#C1_C1Excel_XLColumn_OutlineLevel">OutlineLevel</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets subtotal outline level for the column.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Excel_XLColumn_PageBreak" data-uid="C1.C1Excel.XLColumn.PageBreak">
          <a class="xref" href="C1.C1Excel.XLColumn.PageBreak.html#C1_C1Excel_XLColumn_PageBreak">PageBreak</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether there will be a forced page break after this column.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Excel_XLColumn_Sheet" data-uid="C1.C1Excel.XLColumn.Sheet">
          <a class="xref" href="C1.C1Excel.XLColumn.Sheet.html#C1_C1Excel_XLColumn_Sheet">Sheet</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a reference to the parent <a class="xref" href="C1.C1Excel.XLSheet.html">XLSheet</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Excel_XLColumn_Style" data-uid="C1.C1Excel.XLColumn.Style">
          <a class="xref" href="C1.C1Excel.XLColumn.Style.html#C1_C1Excel_XLColumn_Style">Style</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="C1.C1Excel.XLStyle.html">XLStyle</a> object that determines the appearance
of the column.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Excel_XLColumn_Visible" data-uid="C1.C1Excel.XLColumn.Visible">
          <a class="xref" href="C1.C1Excel.XLColumn.Visible.html#C1_C1Excel_XLColumn_Visible">Visible</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the column is visible.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Excel_XLColumn_Width" data-uid="C1.C1Excel.XLColumn.Width">
          <a class="xref" href="C1.C1Excel.XLColumn.Width.html#C1_C1Excel_XLColumn_Width">Width</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the width of the column, in twips.</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_C1Excel_XLColumn_Clone" data-uid="C1.C1Excel.XLColumn.Clone">
          <a class="xref" href="C1.C1Excel.XLColumn.Clone.html#C1_C1Excel_XLColumn_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new <a class="xref" href="C1.C1Excel.XLColumn.html">XLColumn</a> object that is a copy of the current instance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Excel_XLColumn_Clone_C1_C1Excel_XLCell____" data-uid="C1.C1Excel.XLColumn.Clone(C1.C1Excel.XLCell[]@)">
          <a class="xref" href="C1.C1Excel.XLColumn.Clone.html#C1_C1Excel_XLColumn_Clone_C1_C1Excel_XLCell____">Clone(out XLCell[])</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new <a class="xref" href="C1.C1Excel.XLColumn.html">XLColumn</a> object that is a copy of the current instance.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
