# FarPoint.Web.Spread.IntegerCellType

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Web_Spread_IntegerCellType" data-uid="FarPoint.Web.Spread.IntegerCellType" class="text-break">IntegerCellType Class
</h1>
  <div class="markdown level0 summary"><p>Represents an integer data type cell.</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="FarPoint.Web.Spread.BaseCellType.html">BaseCellType</a></div>
    <div class="level2"><a class="xref" href="FarPoint.Web.Spread.GeneralCellType.html">GeneralCellType</a></div>
    <div class="level3"><a class="xref" href="FarPoint.Web.Spread.BaseDropDownCellType.html">BaseDropDownCellType</a></div>
    <div class="level4"><span class="xref">IntegerCellType</span></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="FarPoint.Web.Spread.IEnhancedRenderer.html">IEnhancedRenderer</a></div>
    <div><a class="xref" href="FarPoint.Web.Spread.IEnhancedPdfRenderer.html">IEnhancedPdfRenderer</a></div>
    <div><a class="xref" href="FarPoint.Web.Spread.IPdfSupport.html">IPdfSupport</a></div>
    <div><a class="xref" href="FarPoint.Web.Spread.Editor.IEditor3.html">IEditor3</a></div>
    <div><a class="xref" href="FarPoint.Web.Spread.Model.ISerializeSupport2.html">ISerializeSupport2</a></div>
    <div><a class="xref" href="FarPoint.Web.Spread.Model.IParseFormatSupport.html">IParseFormatSupport</a></div>
    <div><a class="xref" href="FarPoint.Web.Spread.Renderer.ICSSClassSupport.html">ICSSClassSupport</a></div>
    <div><a class="xref" href="FarPoint.Web.Spread.Editor.IEditFormatter.html">IEditFormatter</a></div>
    <div><a class="xref" href="FarPoint.Web.Spread.Renderer.IEditorCSSClassSupport.html">IEditorCSSClassSupport</a></div>
    <div><a class="xref" href="FarPoint.Web.Spread.IDateCellType.html">IDateCellType</a></div>
    <div><a class="xref" href="FarPoint.Web.Spread.ICellType.html">ICellType</a></div>
    <div><a class="xref" href="FarPoint.Web.Spread.Editor.IEditor.html">IEditor</a></div>
    <div><a class="xref" href="FarPoint.Web.Spread.IWrapableRenderer.html">IWrapableRenderer</a></div>
    <div><a class="xref" href="FarPoint.Web.Spread.Renderer.IRenderer.html">IRenderer</a></div>
    <div><a class="xref" href="FarPoint.Web.Spread.IAcceptServerValidator.html">IAcceptServerValidator</a></div>
    <div><a class="xref" href="FarPoint.Web.Spread.Model.ISerializeSupport.html">ISerializeSupport</a></div>
    <div><a class="xref" href="FarPoint.Web.Spread.IExpandoSupport.html">IExpandoSupport</a></div>
    <div><a class="xref" href="FarPoint.Web.Spread.Renderer.IEnhancedFormatter.html">IEnhancedFormatter</a></div>
    <div><a class="xref" href="FarPoint.Web.Spread.Renderer.IFormatter.html">IFormatter</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Web.Spread.html">FarPoint.Web.Spread</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Web.Spread.dll</h6>
  <h5 id="FarPoint_Web_Spread_IntegerCellType_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class IntegerCellType : BaseDropDownCellType, ICloneable, IEnhancedRenderer, IEnhancedPdfRenderer, IPdfSupport, IEditor3, ISerializeSupport2, IParseFormatSupport, ICSSClassSupport, IEditFormatter, IEditorCSSClassSupport, IDateCellType, ICellType, IEditor, IWrapableRenderer, IRenderer, IAcceptServerValidator, ISerializeSupport, IExpandoSupport, IEnhancedFormatter, IFormatter</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class IntegerCellType
    Inherits BaseDropDownCellType
    Implements ICloneable, IEnhancedRenderer, IEnhancedPdfRenderer, IPdfSupport, IEditor3, ISerializeSupport2, IParseFormatSupport, ICSSClassSupport, IEditFormatter, IEditorCSSClassSupport, IDateCellType, ICellType, IEditor, IWrapableRenderer, IRenderer, IAcceptServerValidator, ISerializeSupport, IExpandoSupport, IEnhancedFormatter, IFormatter</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="FarPoint_Web_Spread_IntegerCellType__ctor" data-uid="FarPoint.Web.Spread.IntegerCellType.#ctor">
          <a class="xref" href="FarPoint.Web.Spread.IntegerCellType.-ctor.html#FarPoint_Web_Spread_IntegerCellType__ctor">IntegerCellType()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new integer data type cell.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_IntegerCellType__ctor_System_Int32_System_Int32_" data-uid="FarPoint.Web.Spread.IntegerCellType.#ctor(System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.IntegerCellType.-ctor.html#FarPoint_Web_Spread_IntegerCellType__ctor_System_Int32_System_Int32_">IntegerCellType(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new integer data type cell with the specified minimum and maximum values.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_IntegerCellType__ctor_System_Int32_System_Int32_System_String_" data-uid="FarPoint.Web.Spread.IntegerCellType.#ctor(System.Int32,System.Int32,System.String)">
          <a class="xref" href="FarPoint.Web.Spread.IntegerCellType.-ctor.html#FarPoint_Web_Spread_IntegerCellType__ctor_System_Int32_System_Int32_System_String_">IntegerCellType(int, int, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new integer data type cell with the specified minimum and maximum values and
specified error message.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_IntegerCellType__ctor_System_String_" data-uid="FarPoint.Web.Spread.IntegerCellType.#ctor(System.String)">
          <a class="xref" href="FarPoint.Web.Spread.IntegerCellType.-ctor.html#FarPoint_Web_Spread_IntegerCellType__ctor_System_String_">IntegerCellType(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new integer data type cell with the specified message to display.</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="FarPoint_Web_Spread_IntegerCellType_AllowWrap" data-uid="FarPoint.Web.Spread.IntegerCellType.AllowWrap">
          <a class="xref" href="FarPoint.Web.Spread.IntegerCellType.AllowWrap.html#FarPoint_Web_Spread_IntegerCellType_AllowWrap">AllowWrap</a>
        </td>
        <td class="markdown level1 summary"><p>Overridden to always return false.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_IntegerCellType_EditMode" data-uid="FarPoint.Web.Spread.IntegerCellType.EditMode">
          <a class="xref" href="FarPoint.Web.Spread.IntegerCellType.EditMode.html#FarPoint_Web_Spread_IntegerCellType_EditMode">EditMode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the format setting of a cell type in edit mode.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_IntegerCellType_MaximumValue" data-uid="FarPoint.Web.Spread.IntegerCellType.MaximumValue">
          <a class="xref" href="FarPoint.Web.Spread.IntegerCellType.MaximumValue.html#FarPoint_Web_Spread_IntegerCellType_MaximumValue">MaximumValue</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the maximum value.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_IntegerCellType_MinimumValue" data-uid="FarPoint.Web.Spread.IntegerCellType.MinimumValue">
          <a class="xref" href="FarPoint.Web.Spread.IntegerCellType.MinimumValue.html#FarPoint_Web_Spread_IntegerCellType_MinimumValue">MinimumValue</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the minimum value.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_IntegerCellType_Multiline" data-uid="FarPoint.Web.Spread.IntegerCellType.Multiline">
          <a class="xref" href="FarPoint.Web.Spread.IntegerCellType.Multiline.html#FarPoint_Web_Spread_IntegerCellType_Multiline">Multiline</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the cell allows multiple lines; overridden to always return false.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_IntegerCellType_NumberFormat" data-uid="FarPoint.Web.Spread.IntegerCellType.NumberFormat">
          <a class="xref" href="FarPoint.Web.Spread.IntegerCellType.NumberFormat.html#FarPoint_Web_Spread_IntegerCellType_NumberFormat">NumberFormat</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a NumberFormatInfo which is used to format the numeric value, such as for currency.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_IntegerCellType_ShowPopupButton" data-uid="FarPoint.Web.Spread.IntegerCellType.ShowPopupButton">
          <a class="xref" href="FarPoint.Web.Spread.IntegerCellType.ShowPopupButton.html#FarPoint_Web_Spread_IntegerCellType_ShowPopupButton">ShowPopupButton</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the editor supports showing a pop-up control.</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="FarPoint_Web_Spread_IntegerCellType_Deserialize_System_Xml_XmlNodeReader_" data-uid="FarPoint.Web.Spread.IntegerCellType.Deserialize(System.Xml.XmlNodeReader)">
          <a class="xref" href="FarPoint.Web.Spread.IntegerCellType.Deserialize.html#FarPoint_Web_Spread_IntegerCellType_Deserialize_System_Xml_XmlNodeReader_">Deserialize(XmlNodeReader)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads the cell type from XML.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_IntegerCellType_Format_System_Object_" data-uid="FarPoint.Web.Spread.IntegerCellType.Format(System.Object)">
          <a class="xref" href="FarPoint.Web.Spread.IntegerCellType.Format.html#FarPoint_Web_Spread_IntegerCellType_Format_System_Object_">Format(object)</a>
        </td>
        <td class="markdown level1 summary"><p>When deriving a cell type based on this type, override this<br>
to change what gets passed back and formatted as a string
into the cell on the sheet from the object in the data model.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_IntegerCellType_Format_System_Object_System_String_System_IFormatProvider_" data-uid="FarPoint.Web.Spread.IntegerCellType.Format(System.Object,System.String,System.IFormatProvider)">
          <a class="xref" href="FarPoint.Web.Spread.IntegerCellType.Format.html#FarPoint_Web_Spread_IntegerCellType_Format_System_Object_System_String_System_IFormatProvider_">Format(object, string, IFormatProvider)</a>
        </td>
        <td class="markdown level1 summary"><p>When deriving a cell type based on this type, override this<br>
to change what gets passed back and formatted as a string
into the cell on the sheet from the object in the data model.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_IntegerCellType_GetDropDownControl_FarPoint_Web_Spread_FpSpread_" data-uid="FarPoint.Web.Spread.IntegerCellType.GetDropDownControl(FarPoint.Web.Spread.FpSpread)">
          <a class="xref" href="FarPoint.Web.Spread.IntegerCellType.GetDropDownControl.html#FarPoint_Web_Spread_IntegerCellType_GetDropDownControl_FarPoint_Web_Spread_FpSpread_">GetDropDownControl(FpSpread)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the specified DropDown control that is implemented by the sub class.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_IntegerCellType_GetEditorControl_System_String_System_Web_UI_WebControls_TableCell_FarPoint_Web_Spread_Appearance_FarPoint_Web_Spread_Inset_System_Object_System_Boolean_" data-uid="FarPoint.Web.Spread.IntegerCellType.GetEditorControl(System.String,System.Web.UI.WebControls.TableCell,FarPoint.Web.Spread.Appearance,FarPoint.Web.Spread.Inset,System.Object,System.Boolean)">
          <a class="xref" href="FarPoint.Web.Spread.IntegerCellType.GetEditorControl.html#FarPoint_Web_Spread_IntegerCellType_GetEditorControl_System_String_System_Web_UI_WebControls_TableCell_FarPoint_Web_Spread_Appearance_FarPoint_Web_Spread_Inset_System_Object_System_Boolean_">GetEditorControl(string, TableCell, Appearance, Inset, object, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the editor control for the specified cell.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_IntegerCellType_PaintCell_System_String_System_Web_UI_WebControls_TableCell_FarPoint_Web_Spread_Appearance_FarPoint_Web_Spread_Inset_System_Object_System_Boolean_" data-uid="FarPoint.Web.Spread.IntegerCellType.PaintCell(System.String,System.Web.UI.WebControls.TableCell,FarPoint.Web.Spread.Appearance,FarPoint.Web.Spread.Inset,System.Object,System.Boolean)">
          <a class="xref" href="FarPoint.Web.Spread.IntegerCellType.PaintCell.html#FarPoint_Web_Spread_IntegerCellType_PaintCell_System_String_System_Web_UI_WebControls_TableCell_FarPoint_Web_Spread_Appearance_FarPoint_Web_Spread_Inset_System_Object_System_Boolean_">PaintCell(string, TableCell, Appearance, Inset, object, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a control and renders it in the cell based on the specified appearance, margin, and value.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_IntegerCellType_Parse_System_String_" data-uid="FarPoint.Web.Spread.IntegerCellType.Parse(System.String)">
          <a class="xref" href="FarPoint.Web.Spread.IntegerCellType.Parse.html#FarPoint_Web_Spread_IntegerCellType_Parse_System_String_">Parse(string)</a>
        </td>
        <td class="markdown level1 summary"><p>When deriving a cell type based on this type, override this<br>
to change what gets parsed from the cell on the sheet and put in the data model.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_IntegerCellType_Serialize_System_Xml_XmlTextWriter_" data-uid="FarPoint.Web.Spread.IntegerCellType.Serialize(System.Xml.XmlTextWriter)">
          <a class="xref" href="FarPoint.Web.Spread.IntegerCellType.Serialize.html#FarPoint_Web_Spread_IntegerCellType_Serialize_System_Xml_XmlTextWriter_">Serialize(XmlTextWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Saves the cell type to XML.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_IntegerCellType_ValidateEditorValue_System_Object_" data-uid="FarPoint.Web.Spread.IntegerCellType.ValidateEditorValue(System.Object)">
          <a class="xref" href="FarPoint.Web.Spread.IntegerCellType.ValidateEditorValue.html#FarPoint_Web_Spread_IntegerCellType_ValidateEditorValue_System_Object_">ValidateEditorValue(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Validates the input value.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
