# C1.Win.List.GridStyleCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_List_GridStyleCollection" data-uid="C1.Win.List.GridStyleCollection" class="text-break">GridStyleCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents a collection of named <a class="xref" href="C1.Win.List.Style.html">Style</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="https://learn.microsoft.com/dotnet/api/system.collections.collectionbase">CollectionBase</a></div>
    <div class="level2"><span class="xref">GridStyleCollection</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="C1.Win.List.html">C1.Win.List</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.List.10.dll</h6>
  <h5 id="C1_Win_List_GridStyleCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class GridStyleCollection : CollectionBase, IList, ICollection, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class GridStyleCollection
    Inherits CollectionBase
    Implements IList, ICollection, IEnumerable</code></pre>
  </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_Win_List_GridStyleCollection__ctor_C1_Win_List_ListBase_Frame_" data-uid="C1.Win.List.GridStyleCollection.#ctor(C1.Win.List.ListBase.Frame)">
          <a class="xref" href="C1.Win.List.GridStyleCollection.-ctor.html#C1_Win_List_GridStyleCollection__ctor_C1_Win_List_ListBase_Frame_">GridStyleCollection(Frame)</a>
        </td>
        <td class="markdown level1 summary"></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_Win_List_GridStyleCollection_Item_System_Int32_" data-uid="C1.Win.List.GridStyleCollection.Item(System.Int32)">
          <a class="xref" href="C1.Win.List.GridStyleCollection.Item.html#C1_Win_List_GridStyleCollection_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the specified Style from the collection given its index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_List_GridStyleCollection_Item_System_String_" data-uid="C1.Win.List.GridStyleCollection.Item(System.String)">
          <a class="xref" href="C1.Win.List.GridStyleCollection.Item.html#C1_Win_List_GridStyleCollection_Item_System_String_">this[string]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the specified Style from the collection given 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_Win_List_GridStyleCollection_Add_C1_Win_List_Style_" data-uid="C1.Win.List.GridStyleCollection.Add(C1.Win.List.Style)">
          <a class="xref" href="C1.Win.List.GridStyleCollection.Add.html#C1_Win_List_GridStyleCollection_Add_C1_Win_List_Style_">Add(Style)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a <a class="xref" href="C1.Win.List.Style.html">Style</a> to the end of the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_List_GridStyleCollection_IndexOf_C1_Win_List_Style_" data-uid="C1.Win.List.GridStyleCollection.IndexOf(C1.Win.List.Style)">
          <a class="xref" href="C1.Win.List.GridStyleCollection.IndexOf.html#C1_Win_List_GridStyleCollection_IndexOf_C1_Win_List_Style_">IndexOf(Style)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the index of the specified <a class="xref" href="C1.Win.List.Style.html">Style</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_List_GridStyleCollection_Insert_System_Int32_C1_Win_List_Style_" data-uid="C1.Win.List.GridStyleCollection.Insert(System.Int32,C1.Win.List.Style)">
          <a class="xref" href="C1.Win.List.GridStyleCollection.Insert.html#C1_Win_List_GridStyleCollection_Insert_System_Int32_C1_Win_List_Style_">Insert(int, Style)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts a <a class="xref" href="C1.Win.List.Style.html">Style</a> at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_List_GridStyleCollection_OnInsert_System_Int32_System_Object_" data-uid="C1.Win.List.GridStyleCollection.OnInsert(System.Int32,System.Object)">
          <a class="xref" href="C1.Win.List.GridStyleCollection.OnInsert.html#C1_Win_List_GridStyleCollection_OnInsert_System_Int32_System_Object_">OnInsert(int, object)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_List_GridStyleCollection_RemoveAt_System_Int32_" data-uid="C1.Win.List.GridStyleCollection.RemoveAt(System.Int32)">
          <a class="xref" href="C1.Win.List.GridStyleCollection.RemoveAt.html#C1_Win_List_GridStyleCollection_RemoveAt_System_Int32_">RemoveAt(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the <a class="xref" href="C1.Win.List.Style.html">Style</a> at the specified index.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
