# GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo" class="text-break">CharBoxInfo Class
</h1>
  <div class="markdown level0 summary"><p>Represents the CharBoxInfo settings.</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"><span class="xref">CharBoxInfo</span></div>
      <div class="level2"><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.InputBoxInfo.html">InputBoxInfo</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.LiteralBoxInfo.html">LiteralBoxInfo</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.SeparatorBoxInfo.html">SeparatorBoxInfo</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable">ISerializable</a></div>
    <div><a class="xref" href="../FarPoint.Win/FarPoint.Win.ISerializeSupport.html">ISerializeSupport</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.inotifypropertychanged">INotifyPropertyChanged</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_CharBoxInfo_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class CharBoxInfo : ICloneable, ISerializable, ISerializeSupport, INotifyPropertyChanged</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class CharBoxInfo
    Implements ICloneable, ISerializable, ISerializeSupport, INotifyPropertyChanged</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_CharBoxInfo__ctor" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.#ctor">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.-ctor.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo__ctor">CharBoxInfo()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.html">CharBoxInfo</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo__ctor_GrapeCity_Win_Spread_InputMan_CellType_CharBoxBorderInfo_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.#ctor(GrapeCity.Win.Spread.InputMan.CellType.CharBoxBorderInfo)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.-ctor.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo__ctor_GrapeCity_Win_Spread_InputMan_CellType_CharBoxBorderInfo_">CharBoxInfo(CharBoxBorderInfo)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.html">CharBoxInfo</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo__ctor_GrapeCity_Win_Spread_InputMan_CellType_CharBoxStyle_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.#ctor(GrapeCity.Win.Spread.InputMan.CellType.CharBoxStyle)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.-ctor.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo__ctor_GrapeCity_Win_Spread_InputMan_CellType_CharBoxStyle_">CharBoxInfo(CharBoxStyle)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.html">CharBoxInfo</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo__ctor_GrapeCity_Win_Spread_InputMan_CellType_CharBoxStyle_GrapeCity_Win_Spread_InputMan_CellType_CharBoxBorderInfo_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.#ctor(GrapeCity.Win.Spread.InputMan.CellType.CharBoxStyle,GrapeCity.Win.Spread.InputMan.CellType.CharBoxBorderInfo)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.-ctor.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo__ctor_GrapeCity_Win_Spread_InputMan_CellType_CharBoxStyle_GrapeCity_Win_Spread_InputMan_CellType_CharBoxBorderInfo_">CharBoxInfo(CharBoxStyle, CharBoxBorderInfo)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.html">CharBoxInfo</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo__ctor_GrapeCity_Win_Spread_InputMan_CellType_CharBoxStyle_GrapeCity_Win_Spread_InputMan_CellType_CharBoxBorderInfo_System_Drawing_Color_System_Drawing_Color_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.#ctor(GrapeCity.Win.Spread.InputMan.CellType.CharBoxStyle,GrapeCity.Win.Spread.InputMan.CellType.CharBoxBorderInfo,System.Drawing.Color,System.Drawing.Color)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.-ctor.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo__ctor_GrapeCity_Win_Spread_InputMan_CellType_CharBoxStyle_GrapeCity_Win_Spread_InputMan_CellType_CharBoxBorderInfo_System_Drawing_Color_System_Drawing_Color_">CharBoxInfo(CharBoxStyle, CharBoxBorderInfo, Color, Color)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.html">CharBoxInfo</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo__ctor_System_Boolean_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.#ctor(System.Boolean)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.-ctor.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo__ctor_System_Boolean_">CharBoxInfo(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.html">CharBoxInfo</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo__ctor_System_Boolean_System_Drawing_Size_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.#ctor(System.Boolean,System.Drawing.Size)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.-ctor.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo__ctor_System_Boolean_System_Drawing_Size_">CharBoxInfo(bool, Size)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.html">CharBoxInfo</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo__ctor_System_Boolean_System_Drawing_Size_System_Drawing_Color_System_Drawing_Color_GrapeCity_Win_Spread_InputMan_CellType_CharBoxStyle_System_Windows_Forms_Padding_System_Windows_Forms_Padding_GrapeCity_Win_Spread_InputMan_CellType_CharBoxBorderInfo_System_Drawing_Font_System_Drawing_ContentAlignment_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.#ctor(System.Boolean,System.Drawing.Size,System.Drawing.Color,System.Drawing.Color,GrapeCity.Win.Spread.InputMan.CellType.CharBoxStyle,System.Windows.Forms.Padding,System.Windows.Forms.Padding,GrapeCity.Win.Spread.InputMan.CellType.CharBoxBorderInfo,System.Drawing.Font,System.Drawing.ContentAlignment)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.-ctor.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo__ctor_System_Boolean_System_Drawing_Size_System_Drawing_Color_System_Drawing_Color_GrapeCity_Win_Spread_InputMan_CellType_CharBoxStyle_System_Windows_Forms_Padding_System_Windows_Forms_Padding_GrapeCity_Win_Spread_InputMan_CellType_CharBoxBorderInfo_System_Drawing_Font_System_Drawing_ContentAlignment_">CharBoxInfo(bool, Size, Color, Color, CharBoxStyle, Padding, Padding, CharBoxBorderInfo, Font, ContentAlignment)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.html">CharBoxInfo</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.-ctor.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">CharBoxInfo(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of this 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_CharBoxInfo_AutoSize" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.AutoSize">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.AutoSize.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo_AutoSize">AutoSize</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the height of the control automatically
adjusts when the font assigned to the control is changed.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo_BackColor" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.BackColor">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.BackColor.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo_BackColor">BackColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the back color of the char box.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo_Border" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.Border">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.Border.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo_Border">Border</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets border of the char box.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo_ContentAlignment" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.ContentAlignment">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.ContentAlignment.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo_ContentAlignment">ContentAlignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the content alignment of the char box.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo_Font" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.Font">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.Font.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo_Font">Font</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets font of the char box.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo_ForeColor" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.ForeColor">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.ForeColor.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo_ForeColor">ForeColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the fore color of the char box.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo_Margin" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.Margin">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.Margin.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo_Margin">Margin</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the margins around the border of the char box.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo_Padding" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.Padding">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.Padding.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo_Padding">Padding</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the blank size between the border and the content within the char box.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo_Size" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.Size">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.Size.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo_Size">Size</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the size of the char box.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo_Style" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.Style">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.Style.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo_Style">Style</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the style of the char box.</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_CharBoxInfo_Clone" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.Clone">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.Clone.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new object that is a copy of the current instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo_Deserialize_System_Xml_XmlNodeReader_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.Deserialize(System.Xml.XmlNodeReader)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.Deserialize.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo_Deserialize_System_Xml_XmlNodeReader_">Deserialize(XmlNodeReader)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads the object from XML.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.GetObjectData.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">GetObjectData(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the object data.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo_NotifyPropertyChanged_System_ComponentModel_PropertyChangedEventArgs_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.NotifyPropertyChanged(System.ComponentModel.PropertyChangedEventArgs)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.NotifyPropertyChanged.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo_NotifyPropertyChanged_System_ComponentModel_PropertyChangedEventArgs_">NotifyPropertyChanged(PropertyChangedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the PropertyChanged event.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo_Serialize_System_Xml_XmlTextWriter_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.Serialize(System.Xml.XmlTextWriter)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.Serialize.html#GrapeCity_Win_Spread_InputMan_CellType_CharBoxInfo_Serialize_System_Xml_XmlTextWriter_">Serialize(XmlTextWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Saves the object to XML.</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_CharBoxInfo_PropertyChanged" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.PropertyChanged">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxInfo.PropertyChanged.html">PropertyChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when a property value changes.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
