# FarPoint.Web.Spread.RegExpCellType

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Web_Spread_RegExpCellType" data-uid="FarPoint.Web.Spread.RegExpCellType" class="text-break">RegExpCellType Class
</h1>
  <div class="markdown level0 summary"><p>Represents a regular expression 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"><span class="xref">RegExpCellType</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.Renderer.IEnhancedFormatter.html">IEnhancedFormatter</a></div>
    <div><a class="xref" href="FarPoint.Web.Spread.Renderer.IFormatter.html">IFormatter</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>
  <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_RegExpCellType_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class RegExpCellType : GeneralCellType, ICloneable, IEnhancedRenderer, IEnhancedPdfRenderer, IPdfSupport, IEditor3, ISerializeSupport2, IParseFormatSupport, ICSSClassSupport, IEditFormatter, IEditorCSSClassSupport, IDateCellType, ICellType, IEditor, IEnhancedFormatter, IFormatter, IWrapableRenderer, IRenderer, IAcceptServerValidator, ISerializeSupport, IExpandoSupport</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class RegExpCellType
    Inherits GeneralCellType
    Implements ICloneable, IEnhancedRenderer, IEnhancedPdfRenderer, IPdfSupport, IEditor3, ISerializeSupport2, IParseFormatSupport, ICSSClassSupport, IEditFormatter, IEditorCSSClassSupport, IDateCellType, ICellType, IEditor, IEnhancedFormatter, IFormatter, IWrapableRenderer, IRenderer, IAcceptServerValidator, ISerializeSupport, IExpandoSupport</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_RegExpCellType__ctor" data-uid="FarPoint.Web.Spread.RegExpCellType.#ctor">
          <a class="xref" href="FarPoint.Web.Spread.RegExpCellType.-ctor.html#FarPoint_Web_Spread_RegExpCellType__ctor">RegExpCellType()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new regular expression cell.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_RegExpCellType__ctor_System_String_" data-uid="FarPoint.Web.Spread.RegExpCellType.#ctor(System.String)">
          <a class="xref" href="FarPoint.Web.Spread.RegExpCellType.-ctor.html#FarPoint_Web_Spread_RegExpCellType__ctor_System_String_">RegExpCellType(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new regular expression 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_RegExpCellType_AllowWrap" data-uid="FarPoint.Web.Spread.RegExpCellType.AllowWrap">
          <a class="xref" href="FarPoint.Web.Spread.RegExpCellType.AllowWrap.html#FarPoint_Web_Spread_RegExpCellType_AllowWrap">AllowWrap</a>
        </td>
        <td class="markdown level1 summary"><p>Overridden to always return false.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_RegExpCellType_Multiline" data-uid="FarPoint.Web.Spread.RegExpCellType.Multiline">
          <a class="xref" href="FarPoint.Web.Spread.RegExpCellType.Multiline.html#FarPoint_Web_Spread_RegExpCellType_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_RegExpCellType_ValidationExpression" data-uid="FarPoint.Web.Spread.RegExpCellType.ValidationExpression">
          <a class="xref" href="FarPoint.Web.Spread.RegExpCellType.ValidationExpression.html#FarPoint_Web_Spread_RegExpCellType_ValidationExpression">ValidationExpression</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the regular expression used to validate the value in the cell.</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_RegExpCellType_Deserialize_System_Xml_XmlNodeReader_" data-uid="FarPoint.Web.Spread.RegExpCellType.Deserialize(System.Xml.XmlNodeReader)">
          <a class="xref" href="FarPoint.Web.Spread.RegExpCellType.Deserialize.html#FarPoint_Web_Spread_RegExpCellType_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_RegExpCellType_Format_System_Object_" data-uid="FarPoint.Web.Spread.RegExpCellType.Format(System.Object)">
          <a class="xref" href="FarPoint.Web.Spread.RegExpCellType.Format.html#FarPoint_Web_Spread_RegExpCellType_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_RegExpCellType_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.RegExpCellType.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.RegExpCellType.PaintCell.html#FarPoint_Web_Spread_RegExpCellType_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_RegExpCellType_Parse_System_String_" data-uid="FarPoint.Web.Spread.RegExpCellType.Parse(System.String)">
          <a class="xref" href="FarPoint.Web.Spread.RegExpCellType.Parse.html#FarPoint_Web_Spread_RegExpCellType_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_RegExpCellType_Serialize_System_Xml_XmlTextWriter_" data-uid="FarPoint.Web.Spread.RegExpCellType.Serialize(System.Xml.XmlTextWriter)">
          <a class="xref" href="FarPoint.Web.Spread.RegExpCellType.Serialize.html#FarPoint_Web_Spread_RegExpCellType_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_RegExpCellType_ValidateEditorValue_System_Object_" data-uid="FarPoint.Web.Spread.RegExpCellType.ValidateEditorValue(System.Object)">
          <a class="xref" href="FarPoint.Web.Spread.RegExpCellType.ValidateEditorValue.html#FarPoint_Web_Spread_RegExpCellType_ValidateEditorValue_System_Object_">ValidateEditorValue(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Validates the input value.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
