# FarPoint.Win.Spread.Columns

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_Columns" data-uid="FarPoint.Win.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.Win.Spread.html">FarPoint.Win.Spread</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.Spread.dll</h6>
  <h5 id="FarPoint_Win_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_Win_Spread_Columns_Count" data-uid="FarPoint.Win.Spread.Columns.Count">
          <a class="xref" href="FarPoint.Win.Spread.Columns.Count.html#FarPoint_Win_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_Win_Spread_Columns_Default" data-uid="FarPoint.Win.Spread.Columns.Default">
          <a class="xref" href="FarPoint.Win.Spread.Columns.Default.html#FarPoint_Win_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_Win_Spread_Columns_Item_System_Int32_" data-uid="FarPoint.Win.Spread.Columns.Item(System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.Columns.Item.html#FarPoint_Win_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_Win_Spread_Columns_Item_System_Int32_System_Int32_" data-uid="FarPoint.Win.Spread.Columns.Item(System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.Columns.Item.html#FarPoint_Win_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_Win_Spread_Columns_Item_System_String_" data-uid="FarPoint.Win.Spread.Columns.Item(System.String)">
          <a class="xref" href="FarPoint.Win.Spread.Columns.Item.html#FarPoint_Win_Spread_Columns_Item_System_String_">this[string]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the column for the specified tag.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Columns_Parent" data-uid="FarPoint.Win.Spread.Columns.Parent">
          <a class="xref" href="FarPoint.Win.Spread.Columns.Parent.html#FarPoint_Win_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>
      <tr>
        <td id="FarPoint_Win_Spread_Columns_RangeGroupLevels" data-uid="FarPoint.Win.Spread.Columns.RangeGroupLevels">
          <a class="xref" href="FarPoint.Win.Spread.Columns.RangeGroupLevels.html#FarPoint_Win_Spread_Columns_RangeGroupLevels">RangeGroupLevels</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of levels of columns in the outline (range group).</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_Win_Spread_Columns_Add_System_Int32_System_Int32_" data-uid="FarPoint.Win.Spread.Columns.Add(System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.Columns.Add.html#FarPoint_Win_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_Win_Spread_Columns_AddRangeGroup_System_Int32_System_Int32_" data-uid="FarPoint.Win.Spread.Columns.AddRangeGroup(System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.Columns.AddRangeGroup.html#FarPoint_Win_Spread_Columns_AddRangeGroup_System_Int32_System_Int32_">AddRangeGroup(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Groups all the columns from the specified start index by the specified amount to an outline (range group).</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Columns_ExpandRangeGroup_FarPoint_Win_Spread_RangeGroupInfo_System_Boolean_" data-uid="FarPoint.Win.Spread.Columns.ExpandRangeGroup(FarPoint.Win.Spread.RangeGroupInfo,System.Boolean)">
          <a class="xref" href="FarPoint.Win.Spread.Columns.ExpandRangeGroup.html#FarPoint_Win_Spread_Columns_ExpandRangeGroup_FarPoint_Win_Spread_RangeGroupInfo_System_Boolean_">ExpandRangeGroup(RangeGroupInfo, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Expands or collapses a specified outline (range group) of columns.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Columns_Get_System_Int32_" data-uid="FarPoint.Win.Spread.Columns.Get(System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.Columns.Get.html#FarPoint_Win_Spread_Columns_Get_System_Int32_">Get(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the specified column.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Columns_Get_System_Int32_System_Int32_" data-uid="FarPoint.Win.Spread.Columns.Get(System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.Columns.Get.html#FarPoint_Win_Spread_Columns_Get_System_Int32_System_Int32_">Get(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the specified range of columns.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Columns_GetRangeGroupInfo_System_Int32_" data-uid="FarPoint.Win.Spread.Columns.GetRangeGroupInfo(System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.Columns.GetRangeGroupInfo.html#FarPoint_Win_Spread_Columns_GetRangeGroupInfo_System_Int32_">GetRangeGroupInfo(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the outlines (range groups) by level.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_Columns_Remove_System_Int32_System_Int32_" data-uid="FarPoint.Win.Spread.Columns.Remove(System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.Columns.Remove.html#FarPoint_Win_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>
      <tr>
        <td id="FarPoint_Win_Spread_Columns_RemoveRangeGroup_System_Int32_System_Int32_" data-uid="FarPoint.Win.Spread.Columns.RemoveRangeGroup(System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.Columns.RemoveRangeGroup.html#FarPoint_Win_Spread_Columns_RemoveRangeGroup_System_Int32_System_Int32_">RemoveRangeGroup(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes columns from the outline (range group) starting from the specified index and count,
and returns them to individual columns.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
