# FarPoint.Web.Spread.PercentCellType

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Web_Spread_PercentCellType" data-uid="FarPoint.Web.Spread.PercentCellType" class="text-break">PercentCellType Class
</h1>
  <div class="markdown level0 summary"><p>Represents a percent value 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">PercentCellType</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_PercentCellType_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class PercentCellType : 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 PercentCellType
    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_PercentCellType__ctor" data-uid="FarPoint.Web.Spread.PercentCellType.#ctor">
          <a class="xref" href="FarPoint.Web.Spread.PercentCellType.-ctor.html#FarPoint_Web_Spread_PercentCellType__ctor">PercentCellType()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new percent data type cell.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_PercentCellType__ctor_System_Double_System_Double_" data-uid="FarPoint.Web.Spread.PercentCellType.#ctor(System.Double,System.Double)">
          <a class="xref" href="FarPoint.Web.Spread.PercentCellType.-ctor.html#FarPoint_Web_Spread_PercentCellType__ctor_System_Double_System_Double_">PercentCellType(double, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new percent data type cell with the specified range of allowed values.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_PercentCellType__ctor_System_Double_System_Double_System_String_" data-uid="FarPoint.Web.Spread.PercentCellType.#ctor(System.Double,System.Double,System.String)">
          <a class="xref" href="FarPoint.Web.Spread.PercentCellType.-ctor.html#FarPoint_Web_Spread_PercentCellType__ctor_System_Double_System_Double_System_String_">PercentCellType(double, double, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new percent data type cell with the specified range of allowed values and message to display.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_PercentCellType__ctor_System_String_" data-uid="FarPoint.Web.Spread.PercentCellType.#ctor(System.String)">
          <a class="xref" href="FarPoint.Web.Spread.PercentCellType.-ctor.html#FarPoint_Web_Spread_PercentCellType__ctor_System_String_">PercentCellType(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new percent 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_PercentCellType_AllowWrap" data-uid="FarPoint.Web.Spread.PercentCellType.AllowWrap">
          <a class="xref" href="FarPoint.Web.Spread.PercentCellType.AllowWrap.html#FarPoint_Web_Spread_PercentCellType_AllowWrap">AllowWrap</a>
        </td>
        <td class="markdown level1 summary"><p>Overridden to always return false.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_PercentCellType_DecimalDigits" data-uid="FarPoint.Web.Spread.PercentCellType.DecimalDigits">
          <a class="xref" href="FarPoint.Web.Spread.PercentCellType.DecimalDigits.html#FarPoint_Web_Spread_PercentCellType_DecimalDigits">DecimalDigits</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the number of decimal digits to display.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_PercentCellType_FixedPoint" data-uid="FarPoint.Web.Spread.PercentCellType.FixedPoint">
          <a class="xref" href="FarPoint.Web.Spread.PercentCellType.FixedPoint.html#FarPoint_Web_Spread_PercentCellType_FixedPoint">FixedPoint</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether to display placeholder zeros in the decimal portion
of the number for a fixed-point numeric display.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_PercentCellType_MaximumValue" data-uid="FarPoint.Web.Spread.PercentCellType.MaximumValue">
          <a class="xref" href="FarPoint.Web.Spread.PercentCellType.MaximumValue.html#FarPoint_Web_Spread_PercentCellType_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_PercentCellType_MinimumValue" data-uid="FarPoint.Web.Spread.PercentCellType.MinimumValue">
          <a class="xref" href="FarPoint.Web.Spread.PercentCellType.MinimumValue.html#FarPoint_Web_Spread_PercentCellType_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_PercentCellType_Multiline" data-uid="FarPoint.Web.Spread.PercentCellType.Multiline">
          <a class="xref" href="FarPoint.Web.Spread.PercentCellType.Multiline.html#FarPoint_Web_Spread_PercentCellType_Multiline">Multiline</a>
        </td>
        <td class="markdown level1 summary"><p>Overridden to always return false.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_PercentCellType_ShowPopupButton" data-uid="FarPoint.Web.Spread.PercentCellType.ShowPopupButton">
          <a class="xref" href="FarPoint.Web.Spread.PercentCellType.ShowPopupButton.html#FarPoint_Web_Spread_PercentCellType_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_PercentCellType_Deserialize_System_Xml_XmlNodeReader_" data-uid="FarPoint.Web.Spread.PercentCellType.Deserialize(System.Xml.XmlNodeReader)">
          <a class="xref" href="FarPoint.Web.Spread.PercentCellType.Deserialize.html#FarPoint_Web_Spread_PercentCellType_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_PercentCellType_Format_System_Object_" data-uid="FarPoint.Web.Spread.PercentCellType.Format(System.Object)">
          <a class="xref" href="FarPoint.Web.Spread.PercentCellType.Format.html#FarPoint_Web_Spread_PercentCellType_Format_System_Object_">Format(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines 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_PercentCellType_Format_System_Object_System_String_System_IFormatProvider_" data-uid="FarPoint.Web.Spread.PercentCellType.Format(System.Object,System.String,System.IFormatProvider)">
          <a class="xref" href="FarPoint.Web.Spread.PercentCellType.Format.html#FarPoint_Web_Spread_PercentCellType_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_PercentCellType_GetDropDownControl_FarPoint_Web_Spread_FpSpread_" data-uid="FarPoint.Web.Spread.PercentCellType.GetDropDownControl(FarPoint.Web.Spread.FpSpread)">
          <a class="xref" href="FarPoint.Web.Spread.PercentCellType.GetDropDownControl.html#FarPoint_Web_Spread_PercentCellType_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_PercentCellType_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.PercentCellType.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.PercentCellType.GetEditorControl.html#FarPoint_Web_Spread_PercentCellType_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>Gets the control used to edit the cell.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_PercentCellType_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.PercentCellType.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.PercentCellType.PaintCell.html#FarPoint_Web_Spread_PercentCellType_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_PercentCellType_Parse_System_String_" data-uid="FarPoint.Web.Spread.PercentCellType.Parse(System.String)">
          <a class="xref" href="FarPoint.Web.Spread.PercentCellType.Parse.html#FarPoint_Web_Spread_PercentCellType_Parse_System_String_">Parse(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines what gets parsed from the cell on the sheet and put in the data model.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_PercentCellType_Serialize_System_Xml_XmlTextWriter_" data-uid="FarPoint.Web.Spread.PercentCellType.Serialize(System.Xml.XmlTextWriter)">
          <a class="xref" href="FarPoint.Web.Spread.PercentCellType.Serialize.html#FarPoint_Web_Spread_PercentCellType_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_PercentCellType_ValidateEditorValue_System_Object_" data-uid="FarPoint.Web.Spread.PercentCellType.ValidateEditorValue(System.Object)">
          <a class="xref" href="FarPoint.Web.Spread.PercentCellType.ValidateEditorValue.html#FarPoint_Web_Spread_PercentCellType_ValidateEditorValue_System_Object_">ValidateEditorValue(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Validates the input value.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
