# GrapeCity.Win.Spread.InputMan.CellType.SubStyleCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Win_Spread_InputMan_CellType_SubStyleCollection" data-uid="GrapeCity.Win.Spread.InputMan.CellType.SubStyleCollection" class="text-break">SubStyleCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents a collection of SubStyle 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"><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection.html">BaseKeyCollection</a></div>
    <div class="level2"><span class="xref">SubStyleCollection</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <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="GrapeCity.Win.Spread.InputMan.CellType.html">GrapeCity.Win.Spread.InputMan.CellType</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Win.PluginInputMan.dll</h6>
  <h5 id="GrapeCity_Win_Spread_InputMan_CellType_SubStyleCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(SubStylesConverter))]
public class SubStyleCollection : BaseKeyCollection, ICollection, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(SubStylesConverter))&gt;
Public Class SubStyleCollection
    Inherits BaseKeyCollection
    Implements 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="GrapeCity_Win_Spread_InputMan_CellType_SubStyleCollection__ctor" data-uid="GrapeCity.Win.Spread.InputMan.CellType.SubStyleCollection.#ctor">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.SubStyleCollection.-ctor.html#GrapeCity_Win_Spread_InputMan_CellType_SubStyleCollection__ctor">SubStyleCollection()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <b>SubStyleCollection</b> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_SubStyleCollection__ctor_System_String___GrapeCity_Win_Spread_InputMan_CellType_SubStyle___" data-uid="GrapeCity.Win.Spread.InputMan.CellType.SubStyleCollection.#ctor(System.String[],GrapeCity.Win.Spread.InputMan.CellType.SubStyle[])">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.SubStyleCollection.-ctor.html#GrapeCity_Win_Spread_InputMan_CellType_SubStyleCollection__ctor_System_String___GrapeCity_Win_Spread_InputMan_CellType_SubStyle___">SubStyleCollection(string[], SubStyle[])</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <b>SubStyleCollection</b> 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="GrapeCity_Win_Spread_InputMan_CellType_SubStyleCollection_Item_System_Int32_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.SubStyleCollection.Item(System.Int32)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.SubStyleCollection.Item.html#GrapeCity_Win_Spread_InputMan_CellType_SubStyleCollection_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <b>SubStyle</b> at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_SubStyleCollection_Item_System_String_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.SubStyleCollection.Item(System.String)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.SubStyleCollection.Item.html#GrapeCity_Win_Spread_InputMan_CellType_SubStyleCollection_Item_System_String_">this[string]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <b>SubStyle</b> with the specified key.</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="GrapeCity_Win_Spread_InputMan_CellType_SubStyleCollection_Add_System_String_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.SubStyleCollection.Add(System.String)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.SubStyleCollection.Add.html#GrapeCity_Win_Spread_InputMan_CellType_SubStyleCollection_Add_System_String_">Add(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a new SubStyle with the specified key into the <b>SubStyleCollection</b>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_SubStyleCollection_Add_System_String_GrapeCity_Win_Spread_InputMan_CellType_SubStyle_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.SubStyleCollection.Add(System.String,GrapeCity.Win.Spread.InputMan.CellType.SubStyle)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.SubStyleCollection.Add.html#GrapeCity_Win_Spread_InputMan_CellType_SubStyleCollection_Add_System_String_GrapeCity_Win_Spread_InputMan_CellType_SubStyle_">Add(string, SubStyle)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds an item with the specified key and value into the <b>SubStyleCollection</b>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_SubStyleCollection_AddRange_System_String___GrapeCity_Win_Spread_InputMan_CellType_SubStyle___" data-uid="GrapeCity.Win.Spread.InputMan.CellType.SubStyleCollection.AddRange(System.String[],GrapeCity.Win.Spread.InputMan.CellType.SubStyle[])">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.SubStyleCollection.AddRange.html#GrapeCity_Win_Spread_InputMan_CellType_SubStyleCollection_AddRange_System_String___GrapeCity_Win_Spread_InputMan_CellType_SubStyle___">AddRange(string[], SubStyle[])</a>
        </td>
        <td class="markdown level1 summary"><p>Adds the specified key array and <b>SubStyle</b> array into the <b>SubStyleCollection</b>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_SubStyleCollection_Clear" data-uid="GrapeCity.Win.Spread.InputMan.CellType.SubStyleCollection.Clear">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.SubStyleCollection.Clear.html#GrapeCity_Win_Spread_InputMan_CellType_SubStyleCollection_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all elements from the <b>SubStyleCollection</b>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_SubStyleCollection_CopyTo_GrapeCity_Win_Spread_InputMan_CellType_SubStyle___" data-uid="GrapeCity.Win.Spread.InputMan.CellType.SubStyleCollection.CopyTo(GrapeCity.Win.Spread.InputMan.CellType.SubStyle[])">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.SubStyleCollection.CopyTo.html#GrapeCity_Win_Spread_InputMan_CellType_SubStyleCollection_CopyTo_GrapeCity_Win_Spread_InputMan_CellType_SubStyle___">CopyTo(SubStyle[])</a>
        </td>
        <td class="markdown level1 summary"><p>Copies the items of the <b>SubStyleCollection</b> to a compatible one-dimensional array of type <b>SubStyle</b>, starting from the first index of the target array.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_SubStyleCollection_CopyTo_GrapeCity_Win_Spread_InputMan_CellType_SubStyle___System_Int32_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.SubStyleCollection.CopyTo(GrapeCity.Win.Spread.InputMan.CellType.SubStyle[],System.Int32)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.SubStyleCollection.CopyTo.html#GrapeCity_Win_Spread_InputMan_CellType_SubStyleCollection_CopyTo_GrapeCity_Win_Spread_InputMan_CellType_SubStyle___System_Int32_">CopyTo(SubStyle[], int)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies the items of the <b>SubStyleCollection</b> to a compatible one-dimensional array of type <b>SubStyle</b>, starting at the specified zero-based index of the target array.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_SubStyleCollection_Insert_System_Int32_System_String_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.SubStyleCollection.Insert(System.Int32,System.String)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.SubStyleCollection.Insert.html#GrapeCity_Win_Spread_InputMan_CellType_SubStyleCollection_Insert_System_Int32_System_String_">Insert(int, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts a new <b>SubStyle</b> with the specified key into the <b>SubStyleCollection</b>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_SubStyleCollection_Insert_System_Int32_System_String_GrapeCity_Win_Spread_InputMan_CellType_SubStyle_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.SubStyleCollection.Insert(System.Int32,System.String,GrapeCity.Win.Spread.InputMan.CellType.SubStyle)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.SubStyleCollection.Insert.html#GrapeCity_Win_Spread_InputMan_CellType_SubStyleCollection_Insert_System_Int32_System_String_GrapeCity_Win_Spread_InputMan_CellType_SubStyle_">Insert(int, string, SubStyle)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts an item with the specified key and value into the <b>SubStyleCollection</b>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_SubStyleCollection_OnCollectionChanged_System_ComponentModel_CollectionChangeEventArgs_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.SubStyleCollection.OnCollectionChanged(System.ComponentModel.CollectionChangeEventArgs)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.SubStyleCollection.OnCollectionChanged.html#GrapeCity_Win_Spread_InputMan_CellType_SubStyleCollection_OnCollectionChanged_System_ComponentModel_CollectionChangeEventArgs_">OnCollectionChanged(CollectionChangeEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises CollectionChanged event.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_SubStyleCollection_Remove_System_String_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.SubStyleCollection.Remove(System.String)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.SubStyleCollection.Remove.html#GrapeCity_Win_Spread_InputMan_CellType_SubStyleCollection_Remove_System_String_">Remove(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the element with the specified key from the <b>SubStyleCollection</b>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_SubStyleCollection_RemoveAt_System_Int32_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.SubStyleCollection.RemoveAt(System.Int32)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.SubStyleCollection.RemoveAt.html#GrapeCity_Win_Spread_InputMan_CellType_SubStyleCollection_RemoveAt_System_Int32_">RemoveAt(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the element with the specified index from the <b>SubStyleCollection</b>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
