# FarPoint.Web.Spread.Columns

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Web_Spread_Columns" data-uid="FarPoint.Web.Spread.Columns" class="text-break">Columns Class
</h1>
  <div class="markdown level0 summary"><p>Represents a one-dimensional collection of Column objects.</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">Columns</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="FarPoint.Web.Spread.html">FarPoint.Web.Spread</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Web.Spread.dll</h6>
  <h5 id="FarPoint_Web_Spread_Columns_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Columns : IList, ICollection, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class Columns
    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="FarPoint_Web_Spread_Columns_Count" data-uid="FarPoint.Web.Spread.Columns.Count">
          <a class="xref" href="FarPoint.Web.Spread.Columns.Count.html#FarPoint_Web_Spread_Columns_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the number of columns in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Columns_Default" data-uid="FarPoint.Web.Spread.Columns.Default">
          <a class="xref" href="FarPoint.Web.Spread.Columns.Default.html#FarPoint_Web_Spread_Columns_Default">Default</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a DefaultColumn object for the default column (-1).</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Columns_Item_System_Int32_" data-uid="FarPoint.Web.Spread.Columns.Item(System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.Columns.Item.html#FarPoint_Web_Spread_Columns_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a new column for the specified column.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Columns_Item_System_Int32_System_Int32_" data-uid="FarPoint.Web.Spread.Columns.Item(System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.Columns.Item.html#FarPoint_Web_Spread_Columns_Item_System_Int32_System_Int32_">this[int, int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a new column for the specified range of columns.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Columns_Parent" data-uid="FarPoint.Web.Spread.Columns.Parent">
          <a class="xref" href="FarPoint.Web.Spread.Columns.Parent.html#FarPoint_Web_Spread_Columns_Parent">Parent</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the parent object that contains this collection of columns.</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="FarPoint_Web_Spread_Columns_Add_System_Int32_System_Int32_" data-uid="FarPoint.Web.Spread.Columns.Add(System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.Columns.Add.html#FarPoint_Web_Spread_Columns_Add_System_Int32_System_Int32_">Add(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a new column or range of columns.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Columns_AddRange_System_Collections_ICollection_" data-uid="FarPoint.Web.Spread.Columns.AddRange(System.Collections.ICollection)">
          <a class="xref" href="FarPoint.Web.Spread.Columns.AddRange.html#FarPoint_Web_Spread_Columns_AddRange_System_Collections_ICollection_">AddRange(ICollection)</a>
        </td>
        <td class="markdown level1 summary"><p>Internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Columns_Clear" data-uid="FarPoint.Web.Spread.Columns.Clear">
          <a class="xref" href="FarPoint.Web.Spread.Columns.Clear.html#FarPoint_Web_Spread_Columns_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Columns_Remove_System_Int32_System_Int32_" data-uid="FarPoint.Web.Spread.Columns.Remove(System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.Columns.Remove.html#FarPoint_Web_Spread_Columns_Remove_System_Int32_System_Int32_">Remove(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes a column or range of columns.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
