# GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection" class="text-break">CharBoxCollection Class
</h1>
  <div class="markdown level0 summary"><p>Defines a collection that indicates a set of char boxes.</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">CharBoxCollection</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="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_CharBoxCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(CharBoxCollectionTypeConverter))]
public class CharBoxCollection : CollectionBase, IList, ICollection, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(CharBoxCollectionTypeConverter))&gt;
Public Class CharBoxCollection
    Inherits CollectionBase
    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="GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_Item_System_Int32_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.Item(System.Int32)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.Item.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Get a char box according by the index</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_Number1" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.Number1">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.Number1.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_Number1">Number1</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a template set of <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBox.html">CharBox</a> for number style.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_Number2" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.Number2">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.Number2.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_Number2">Number2</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a template set of <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBox.html">CharBox</a> for number style.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_Number3" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.Number3">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.Number3.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_Number3">Number3</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a template set of <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBox.html">CharBox</a> for number style.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_Number4" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.Number4">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.Number4.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_Number4">Number4</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a template set of <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBox.html">CharBox</a> for number style.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_PostCode1" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.PostCode1">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.PostCode1.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_PostCode1">PostCode1</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a template set of <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBox.html">CharBox</a> for postcode style.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_PostCode2" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.PostCode2">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.PostCode2.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_PostCode2">PostCode2</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a template set of <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBox.html">CharBox</a> for postcode style.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_PostCode3" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.PostCode3">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.PostCode3.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_PostCode3">PostCode3</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a template set of <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBox.html">CharBox</a> for postcode style.</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_CharBoxCollection_Add_GrapeCity_Win_Spread_InputMan_CellType_CharBox_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.Add(GrapeCity.Win.Spread.InputMan.CellType.CharBox)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.Add.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_Add_GrapeCity_Win_Spread_InputMan_CellType_CharBox_">Add(CharBox)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a char box to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_Add_GrapeCity_Win_Spread_InputMan_CellType_CharBox_System_Int32_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.Add(GrapeCity.Win.Spread.InputMan.CellType.CharBox,System.Int32)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.Add.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_Add_GrapeCity_Win_Spread_InputMan_CellType_CharBox_System_Int32_">Add(CharBox, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBox.html">CharBox</a> to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_AddRange_GrapeCity_Win_Spread_InputMan_CellType_CharBox___" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.AddRange(GrapeCity.Win.Spread.InputMan.CellType.CharBox[])">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.AddRange.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_AddRange_GrapeCity_Win_Spread_InputMan_CellType_CharBox___">AddRange(CharBox[])</a>
        </td>
        <td class="markdown level1 summary"><p>Adds an array of <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBox.html">CharBox</a> to the current collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_IndexOf_GrapeCity_Win_Spread_InputMan_CellType_CharBox_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.IndexOf(GrapeCity.Win.Spread.InputMan.CellType.CharBox)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.IndexOf.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_IndexOf_GrapeCity_Win_Spread_InputMan_CellType_CharBox_">IndexOf(CharBox)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the index of the special char box.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_Insert_System_Int32_GrapeCity_Win_Spread_InputMan_CellType_CharBox_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.Insert(System.Int32,GrapeCity.Win.Spread.InputMan.CellType.CharBox)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.Insert.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_Insert_System_Int32_GrapeCity_Win_Spread_InputMan_CellType_CharBox_">Insert(int, CharBox)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts a char box into the collection at the given index.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_OnClear" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.OnClear">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.OnClear.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_OnClear">OnClear()</a>
        </td>
        <td class="markdown level1 summary"><p>Performs additional custom processes when clearing the contents of the
<a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.html">CharBoxCollection</a> instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_OnClearComplete" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.OnClearComplete">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.OnClearComplete.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_OnClearComplete">OnClearComplete()</a>
        </td>
        <td class="markdown level1 summary"><p>Performs additional custom processes after clearing the contents of the
<a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.html">CharBoxCollection</a> instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_OnCollectionChanged_System_ComponentModel_CollectionChangeEventArgs_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.OnCollectionChanged(System.ComponentModel.CollectionChangeEventArgs)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.OnCollectionChanged.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_OnCollectionChanged_System_ComponentModel_CollectionChangeEventArgs_">OnCollectionChanged(CollectionChangeEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.CollectionChanged.html">CollectionChanged</a> event.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_OnInsert_System_Int32_System_Object_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.OnInsert(System.Int32,System.Object)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.OnInsert.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_OnInsert_System_Int32_System_Object_">OnInsert(int, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs additional custom processes when clearing the contents of the
<a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.html">CharBoxCollection</a> instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_OnInsertComplete_System_Int32_System_Object_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.OnInsertComplete(System.Int32,System.Object)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.OnInsertComplete.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_OnInsertComplete_System_Int32_System_Object_">OnInsertComplete(int, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs additional custom processes when inserting the contents of the
<a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.html">CharBoxCollection</a> instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_OnPropertyChanged_System_ComponentModel_PropertyChangedEventArgs_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.OnPropertyChanged(System.ComponentModel.PropertyChangedEventArgs)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.OnPropertyChanged.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_OnPropertyChanged_System_ComponentModel_PropertyChangedEventArgs_">OnPropertyChanged(PropertyChangedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Notify the property changed notification.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_OnRemove_System_Int32_System_Object_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.OnRemove(System.Int32,System.Object)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.OnRemove.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_OnRemove_System_Int32_System_Object_">OnRemove(int, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs additional custom processes when clearing the contents of the
<a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.html">CharBoxCollection</a> instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_OnRemoveComplete_System_Int32_System_Object_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.OnRemoveComplete(System.Int32,System.Object)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.OnRemoveComplete.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_OnRemoveComplete_System_Int32_System_Object_">OnRemoveComplete(int, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs additional custom processes when removing the contents of the
<a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.html">CharBoxCollection</a> instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_OnSet_System_Int32_System_Object_System_Object_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.OnSet(System.Int32,System.Object,System.Object)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.OnSet.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_OnSet_System_Int32_System_Object_System_Object_">OnSet(int, object, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs additional custom processes when clearing the contents of the
<a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.html">CharBoxCollection</a> instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_OnSetComplete_System_Int32_System_Object_System_Object_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.OnSetComplete(System.Int32,System.Object,System.Object)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.OnSetComplete.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_OnSetComplete_System_Int32_System_Object_System_Object_">OnSetComplete(int, object, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs additional custom processes when setting the contents of the
<a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.html">CharBoxCollection</a> instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_Remove_GrapeCity_Win_Spread_InputMan_CellType_CharBox_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.Remove(GrapeCity.Win.Spread.InputMan.CellType.CharBox)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.Remove.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_Remove_GrapeCity_Win_Spread_InputMan_CellType_CharBox_">Remove(CharBox)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes a char box from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_SetBorderColor_System_Drawing_Color_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.SetBorderColor(System.Drawing.Color)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.SetBorderColor.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_SetBorderColor_System_Drawing_Color_">SetBorderColor(Color)</a>
        </td>
        <td class="markdown level1 summary"><p>Set the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a> of all <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxBorder.html">Border</a>
of each <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBox.html">CharBox</a> in this collection</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_SetBorderStyle_GrapeCity_Win_Spread_InputMan_CellType_LineStyle_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.SetBorderStyle(GrapeCity.Win.Spread.InputMan.CellType.LineStyle)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.SetBorderStyle.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxCollection_SetBorderStyle_GrapeCity_Win_Spread_InputMan_CellType_LineStyle_">SetBorderStyle(LineStyle)</a>
        </td>
        <td class="markdown level1 summary"><p>Set the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.LineStyle.html">LineStyle</a> of all <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxBorder.html">CharBoxBorder</a>
of each <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBox.html">CharBox</a> in this collection</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</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_CharBoxCollection_CollectionChanged" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.CollectionChanged">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxCollection.CollectionChanged.html">CollectionChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when collection is changed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
