# FarPoint.Win.Spread.CellType.MaskCellType

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_CellType_MaskCellType" data-uid="FarPoint.Win.Spread.CellType.MaskCellType" class="text-break">MaskCellType Class
</h1>
  <div class="markdown level0 summary"><p>Represents a mask 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.Win.Spread.CellType.BaseCellType.html">BaseCellType</a></div>
    <div class="level2"><a class="xref" href="FarPoint.Win.Spread.CellType.EditBaseCellType.html">EditBaseCellType</a></div>
    <div class="level3"><span class="xref">MaskCellType</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="FarPoint.Win.Spread.CellType.ICellType.html">ICellType</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.CellType.IEditor.html">IEditor</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.CellType.IPropertyAllowedSupport.html">IPropertyAllowedSupport</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.CellType.INotifyEditorValueChanged.html">INotifyEditorValueChanged</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.IEnhancedPdfRenderer.html">IEnhancedPdfRenderer</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.CellType.IPdfSupport.html">IPdfSupport</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.IAllowArrowKeysMoveActiveCell.html">IAllowArrowKeysMoveActiveCell</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.CellType.IErrorIconSupport.html">IErrorIconSupport</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.CellType.IEditorVerticaAlignSupport.html">IEditorVerticaAlignSupport</a></div>
    <div><a class="xref" href="../GrapeCity.Spreadsheet/GrapeCity.Spreadsheet.ICellType.html">ICellType</a></div>
    <div><a class="xref" href="../GrapeCity.CalcEngine/GrapeCity.CalcEngine.ICloneable-1.html">ICloneable</a>&lt;<a class="xref" href="../GrapeCity.Spreadsheet/GrapeCity.Spreadsheet.ICellType.html">ICellType</a>&gt;</div>
    <div><a class="xref" href="../GrapeCity.Spreadsheet/GrapeCity.Spreadsheet.INumFmtSupportCellType.html">INumFmtSupportCellType</a></div>
    <div><a class="xref" href="../FarPoint.Win/FarPoint.Win.ISerializeSupport.html">ISerializeSupport</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.CellType.IEditFormula.html">IEditFormula</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.CellType.IRenderAlignment.html">IRenderAlignment</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.CellType.IReadOnlySupport.html">IReadOnlySupport</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.CellType.IStaticSupport.html">IStaticSupport</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.CellType.IWordWrapSupport.html">IWordWrapSupport</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.IFormulaEditingSupport.html">IFormulaEditingSupport</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.CellType.IAutoCompleteSupport.html">IAutoCompleteSupport</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.CellType.IShrinkToFitSupport.html">IShrinkToFitSupport</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.CellType.IFormatter.html">IFormatter</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.CellType.IStringTrimmingSupport.html">IStringTrimmingSupport</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.CellType.ITextOrientationSupport2.html">ITextOrientationSupport2</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.CellType.ITextOrientationSupport.html">ITextOrientationSupport</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.IEnhancedRenderer.html">IEnhancedRenderer</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.CellType.IRenderer.html">IRenderer</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.CellType.IDisplayFormulaSupport.html">IDisplayFormulaSupport</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.Spread.CellType.IReuseEditorControl2.html">IReuseEditorControl2</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.CellType.IReuseEditorControl.html">IReuseEditorControl</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Win.Spread.CellType.html">FarPoint.Win.Spread.CellType</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.Spread.dll</h6>
  <h5 id="FarPoint_Win_Spread_CellType_MaskCellType_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class MaskCellType : EditBaseCellType, ICellType, IEditor, ICloneable, IPropertyAllowedSupport, INotifyEditorValueChanged, IEnhancedPdfRenderer, IPdfSupport, IAllowArrowKeysMoveActiveCell, IErrorIconSupport, IEditorVerticaAlignSupport, ICellType, ICloneable&lt;ICellType&gt;, INumFmtSupportCellType, ISerializeSupport, IEditFormula, IRenderAlignment, IReadOnlySupport, IStaticSupport, IWordWrapSupport, IDisposable, IFormulaEditingSupport, IAutoCompleteSupport, IShrinkToFitSupport, IFormatter, IStringTrimmingSupport, ITextOrientationSupport2, ITextOrientationSupport, IEnhancedRenderer, IRenderer, IDisplayFormulaSupport, ISerializable, IReuseEditorControl2, IReuseEditorControl</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class MaskCellType
    Inherits EditBaseCellType
    Implements ICellType, IEditor, ICloneable, IPropertyAllowedSupport, INotifyEditorValueChanged, IEnhancedPdfRenderer, IPdfSupport, IAllowArrowKeysMoveActiveCell, IErrorIconSupport, IEditorVerticaAlignSupport, ICellType, ICloneable(Of ICellType), INumFmtSupportCellType, ISerializeSupport, IEditFormula, IRenderAlignment, IReadOnlySupport, IStaticSupport, IWordWrapSupport, IDisposable, IFormulaEditingSupport, IAutoCompleteSupport, IShrinkToFitSupport, IFormatter, IStringTrimmingSupport, ITextOrientationSupport2, ITextOrientationSupport, IEnhancedRenderer, IRenderer, IDisplayFormulaSupport, ISerializable, IReuseEditorControl2, IReuseEditorControl</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_Win_Spread_CellType_MaskCellType__ctor" data-uid="FarPoint.Win.Spread.CellType.MaskCellType.#ctor">
          <a class="xref" href="FarPoint.Win.Spread.CellType.MaskCellType.-ctor.html#FarPoint_Win_Spread_CellType_MaskCellType__ctor">MaskCellType()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new mask cell with default settings.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_MaskCellType__ctor_FarPoint_Win_Spread_CellType_MaskCellType_" data-uid="FarPoint.Win.Spread.CellType.MaskCellType.#ctor(FarPoint.Win.Spread.CellType.MaskCellType)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.MaskCellType.-ctor.html#FarPoint_Win_Spread_CellType_MaskCellType__ctor_FarPoint_Win_Spread_CellType_MaskCellType_">MaskCellType(MaskCellType)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new copy from the specified cell type (&quot;Copy constructor&quot;).</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_MaskCellType__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Win.Spread.CellType.MaskCellType.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.MaskCellType.-ctor.html#FarPoint_Win_Spread_CellType_MaskCellType__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">MaskCellType(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new mask cell from serialization.</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_Win_Spread_CellType_MaskCellType_CustomMaskCharacters" data-uid="FarPoint.Win.Spread.CellType.MaskCellType.CustomMaskCharacters">
          <a class="xref" href="FarPoint.Win.Spread.CellType.MaskCellType.CustomMaskCharacters.html#FarPoint_Win_Spread_CellType_MaskCellType_CustomMaskCharacters">CustomMaskCharacters</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the custom characters for the mask.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_MaskCellType_Mask" data-uid="FarPoint.Win.Spread.CellType.MaskCellType.Mask">
          <a class="xref" href="FarPoint.Win.Spread.CellType.MaskCellType.Mask.html#FarPoint_Win_Spread_CellType_MaskCellType_Mask">Mask</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the mask string.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_MaskCellType_MaskChar" data-uid="FarPoint.Win.Spread.CellType.MaskCellType.MaskChar">
          <a class="xref" href="FarPoint.Win.Spread.CellType.MaskCellType.MaskChar.html#FarPoint_Win_Spread_CellType_MaskCellType_MaskChar">MaskChar</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the placeholder character.</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_Win_Spread_CellType_MaskCellType_Clone" data-uid="FarPoint.Win.Spread.CellType.MaskCellType.Clone">
          <a class="xref" href="FarPoint.Win.Spread.CellType.MaskCellType.Clone.html#FarPoint_Win_Spread_CellType_MaskCellType_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates and returns a mask cell.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_MaskCellType_Deserialize_System_Xml_XmlNodeReader_" data-uid="FarPoint.Win.Spread.CellType.MaskCellType.Deserialize(System.Xml.XmlNodeReader)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.MaskCellType.Deserialize.html#FarPoint_Win_Spread_CellType_MaskCellType_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="FarPoint_Win_Spread_CellType_MaskCellType_Format_System_Object_" data-uid="FarPoint.Win.Spread.CellType.MaskCellType.Format(System.Object)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.MaskCellType.Format.html#FarPoint_Win_Spread_CellType_MaskCellType_Format_System_Object_">Format(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Formats the specified data into the format of the cell type and returns it as a string.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_MaskCellType_GetEditorControl_System_Windows_Forms_Control_FarPoint_Win_Spread_Appearance_System_Single_" data-uid="FarPoint.Win.Spread.CellType.MaskCellType.GetEditorControl(System.Windows.Forms.Control,FarPoint.Win.Spread.Appearance,System.Single)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.MaskCellType.GetEditorControl.html#FarPoint_Win_Spread_CellType_MaskCellType_GetEditorControl_System_Windows_Forms_Control_FarPoint_Win_Spread_Appearance_System_Single_">GetEditorControl(Control, Appearance, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the edit control for this cell type with the specified appearance and scaling.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_MaskCellType_GetEditorValue" data-uid="FarPoint.Win.Spread.CellType.MaskCellType.GetEditorValue">
          <a class="xref" href="FarPoint.Win.Spread.CellType.MaskCellType.GetEditorValue.html#FarPoint_Win_Spread_CellType_MaskCellType_GetEditorValue">GetEditorValue()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the unformatted value in the editor control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_MaskCellType_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Win.Spread.CellType.MaskCellType.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.MaskCellType.GetObjectData.html#FarPoint_Win_Spread_CellType_MaskCellType_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">GetObjectData(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Serializes the cell type.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_MaskCellType_InitializeEditorControl_System_Windows_Forms_Control_FarPoint_Win_Spread_Appearance_System_Single_" data-uid="FarPoint.Win.Spread.CellType.MaskCellType.InitializeEditorControl(System.Windows.Forms.Control,FarPoint.Win.Spread.Appearance,System.Single)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.MaskCellType.InitializeEditorControl.html#FarPoint_Win_Spread_CellType_MaskCellType_InitializeEditorControl_System_Windows_Forms_Control_FarPoint_Win_Spread_Appearance_System_Single_">InitializeEditorControl(Control, Appearance, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes the editor control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_MaskCellType_IsReusable_System_Windows_Forms_Control_" data-uid="FarPoint.Win.Spread.CellType.MaskCellType.IsReusable(System.Windows.Forms.Control)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.MaskCellType.IsReusable.html#FarPoint_Win_Spread_CellType_MaskCellType_IsReusable_System_Windows_Forms_Control_">IsReusable(Control)</a>
        </td>
        <td class="markdown level1 summary"><p>Checks if this celltype is reusable.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_MaskCellType_IsValid_System_Object_" data-uid="FarPoint.Win.Spread.CellType.MaskCellType.IsValid(System.Object)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.MaskCellType.IsValid.html#FarPoint_Win_Spread_CellType_MaskCellType_IsValid_System_Object_">IsValid(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the specified value is valid.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_MaskCellType_OnCustomMaskCharacter_System_Object_FarPoint_Win_SuperEdit_CustomMaskEventArgs_" data-uid="FarPoint.Win.Spread.CellType.MaskCellType.OnCustomMaskCharacter(System.Object,FarPoint.Win.SuperEdit.CustomMaskEventArgs)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.MaskCellType.OnCustomMaskCharacter.html#FarPoint_Win_Spread_CellType_MaskCellType_OnCustomMaskCharacter_System_Object_FarPoint_Win_SuperEdit_CustomMaskEventArgs_">OnCustomMaskCharacter(object, CustomMaskEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Handles the CustomMask event.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_MaskCellType_Serialize_System_Xml_XmlTextWriter_" data-uid="FarPoint.Win.Spread.CellType.MaskCellType.Serialize(System.Xml.XmlTextWriter)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.MaskCellType.Serialize.html#FarPoint_Win_Spread_CellType_MaskCellType_Serialize_System_Xml_XmlTextWriter_">Serialize(XmlTextWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Saves the object to XML.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
