# GrapeCity.Win.Spread.InputMan.CellType.ButtonTextCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Win_Spread_InputMan_CellType_ButtonTextCollection" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ButtonTextCollection" class="text-break">ButtonTextCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents the button text collection.</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">ButtonTextCollection</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_ButtonTextCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(ButtonTextCollectionConverter))]
public class ButtonTextCollection : BaseKeyCollection, ICollection, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(ButtonTextCollectionConverter))&gt;
Public Class ButtonTextCollection
    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_ButtonTextCollection__ctor" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ButtonTextCollection.#ctor">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ButtonTextCollection.-ctor.html#GrapeCity_Win_Spread_InputMan_CellType_ButtonTextCollection__ctor">ButtonTextCollection()</a>
        </td>
        <td class="markdown level1 summary"><p>The constructor initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ButtonTextCollection.html">ButtonTextCollection</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_ButtonTextCollection__ctor_System_String___System_String___" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ButtonTextCollection.#ctor(System.String[],System.String[])">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ButtonTextCollection.-ctor.html#GrapeCity_Win_Spread_InputMan_CellType_ButtonTextCollection__ctor_System_String___System_String___">ButtonTextCollection(string[], string[])</a>
        </td>
        <td class="markdown level1 summary"><p>The constructor initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ButtonTextCollection.html">ButtonTextCollection</a> 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_ButtonTextCollection_Item_System_Int32_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ButtonTextCollection.Item(System.Int32)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ButtonTextCollection.Item.html#GrapeCity_Win_Spread_InputMan_CellType_ButtonTextCollection_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the value according to the special index.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_ButtonTextCollection_Item_System_String_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ButtonTextCollection.Item(System.String)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ButtonTextCollection.Item.html#GrapeCity_Win_Spread_InputMan_CellType_ButtonTextCollection_Item_System_String_">this[string]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the value according to the special 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_ButtonTextCollection_Add_System_String_System_String_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ButtonTextCollection.Add(System.String,System.String)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ButtonTextCollection.Add.html#GrapeCity_Win_Spread_InputMan_CellType_ButtonTextCollection_Add_System_String_System_String_">Add(string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Add an item to the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ButtonTextCollection.html">ButtonTextCollection</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_ButtonTextCollection_AddRange_System_String___System_String___" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ButtonTextCollection.AddRange(System.String[],System.String[])">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ButtonTextCollection.AddRange.html#GrapeCity_Win_Spread_InputMan_CellType_ButtonTextCollection_AddRange_System_String___System_String___">AddRange(string[], string[])</a>
        </td>
        <td class="markdown level1 summary"><p>Add items to the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ButtonTextCollection.html">ButtonTextCollection</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_ButtonTextCollection_Clear" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ButtonTextCollection.Clear">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ButtonTextCollection.Clear.html#GrapeCity_Win_Spread_InputMan_CellType_ButtonTextCollection_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Clear all items in the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ButtonTextCollection.html">ButtonTextCollection</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_ButtonTextCollection_CopyTo_System_String___" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ButtonTextCollection.CopyTo(System.String[])">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ButtonTextCollection.CopyTo.html#GrapeCity_Win_Spread_InputMan_CellType_ButtonTextCollection_CopyTo_System_String___">CopyTo(string[])</a>
        </td>
        <td class="markdown level1 summary"><p>Copies the items of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ButtonTextCollection.html">ButtonTextCollection</a> to a compatible one-dimensional array of type <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>, starting from the first index of the target array.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_ButtonTextCollection_CopyTo_System_String___System_Int32_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ButtonTextCollection.CopyTo(System.String[],System.Int32)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ButtonTextCollection.CopyTo.html#GrapeCity_Win_Spread_InputMan_CellType_ButtonTextCollection_CopyTo_System_String___System_Int32_">CopyTo(string[], int)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies the items of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ButtonTextCollection.html">ButtonTextCollection</a> to a compatible one-dimensional array of type <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>, starting at the specified zero-based index of the target array.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_ButtonTextCollection_Insert_System_Int32_System_String_System_String_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ButtonTextCollection.Insert(System.Int32,System.String,System.String)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ButtonTextCollection.Insert.html#GrapeCity_Win_Spread_InputMan_CellType_ButtonTextCollection_Insert_System_Int32_System_String_System_String_">Insert(int, string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts an item to the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ButtonTextCollection.html">ButtonTextCollection</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_ButtonTextCollection_IsKeyValid_System_String_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ButtonTextCollection.IsKeyValid(System.String)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ButtonTextCollection.IsKeyValid.html#GrapeCity_Win_Spread_InputMan_CellType_ButtonTextCollection_IsKeyValid_System_String_">IsKeyValid(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Checks whether the key is valid.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_ButtonTextCollection_Remove_System_String_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ButtonTextCollection.Remove(System.String)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ButtonTextCollection.Remove.html#GrapeCity_Win_Spread_InputMan_CellType_ButtonTextCollection_Remove_System_String_">Remove(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Remove the item of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ButtonTextCollection.html">ButtonTextCollection</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_ButtonTextCollection_RemoveAt_System_Int32_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ButtonTextCollection.RemoveAt(System.Int32)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ButtonTextCollection.RemoveAt.html#GrapeCity_Win_Spread_InputMan_CellType_ButtonTextCollection_RemoveAt_System_Int32_">RemoveAt(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Remove the item according to the special index.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
