# C1.WPF.Grid.GridColumnCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Grid_GridColumnCollection" data-uid="C1.WPF.Grid.GridColumnCollection" class="text-break">GridColumnCollection Class
</h1>
  <div class="markdown level0 summary"><p>Collection of columns.</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.WPF.Grid.GridRowColCollection-1.html">GridRowColCollection</a>&lt;<a class="xref" href="C1.WPF.Grid.GridColumn.html">GridColumn</a>&gt;</div>
    <div class="level2"><span class="xref">GridColumnCollection</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.inotifypropertychanged">INotifyPropertyChanged</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Grid.html">C1.WPF.Grid</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Grid.dll</h6>
  <h5 id="C1_WPF_Grid_GridColumnCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class GridColumnCollection : GridRowColCollection&lt;GridColumn&gt;, INotifyPropertyChanged, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class GridColumnCollection
    Inherits GridRowColCollection(Of GridColumn)
    Implements INotifyPropertyChanged, IDisposable</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_WPF_Grid_GridColumnCollection_DataCollection" data-uid="C1.WPF.Grid.GridColumnCollection.DataCollection">
          <a class="xref" href="C1.WPF.Grid.GridColumnCollection.DataCollection.html#C1_WPF_Grid_GridColumnCollection_DataCollection">DataCollection</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Grid_GridColumnCollection_Item_System_String_" data-uid="C1.WPF.Grid.GridColumnCollection.Item(System.String)">
          <a class="xref" href="C1.WPF.Grid.GridColumnCollection.Item.html#C1_WPF_Grid_GridColumnCollection_Item_System_String_">this[string]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a <a class="xref" href="C1.WPF.Grid.GridColumn.html">GridColumn</a> by its name.</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_WPF_Grid_GridColumnCollection_IndexOf_System_String_" data-uid="C1.WPF.Grid.GridColumnCollection.IndexOf(System.String)">
          <a class="xref" href="C1.WPF.Grid.GridColumnCollection.IndexOf.html#C1_WPF_Grid_GridColumnCollection_IndexOf_System_String_">IndexOf(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the index of the column with a given name in the collection.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
