# FarPoint.Win.SuperEdit.MaskFormatter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_SuperEdit_MaskFormatter" data-uid="FarPoint.Win.SuperEdit.MaskFormatter" class="text-break">MaskFormatter Class
</h1>
  <div class="markdown level0 summary"><p>Represents a mask formatter.</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">MaskFormatter</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="FarPoint.Win.SuperEdit.ISEditFormatter.html">ISEditFormatter</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Win.SuperEdit.html">FarPoint.Win.SuperEdit</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.dll</h6>
  <h5 id="FarPoint_Win_SuperEdit_MaskFormatter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class MaskFormatter : ISEditFormatter</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class MaskFormatter
    Implements ISEditFormatter</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_SuperEdit_MaskFormatter__ctor" data-uid="FarPoint.Win.SuperEdit.MaskFormatter.#ctor">
          <a class="xref" href="FarPoint.Win.SuperEdit.MaskFormatter.-ctor.html#FarPoint_Win_SuperEdit_MaskFormatter__ctor">MaskFormatter()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new mask formatter with default values.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SuperEdit_MaskFormatter__ctor_FarPoint_Win_SuperEdit_MaskType_" data-uid="FarPoint.Win.SuperEdit.MaskFormatter.#ctor(FarPoint.Win.SuperEdit.MaskType)">
          <a class="xref" href="FarPoint.Win.SuperEdit.MaskFormatter.-ctor.html#FarPoint_Win_SuperEdit_MaskFormatter__ctor_FarPoint_Win_SuperEdit_MaskType_">MaskFormatter(MaskType)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new mask formatter with the specified type of mask.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SuperEdit_MaskFormatter__ctor_FarPoint_Win_SuperEdit_MaskType_System_String_" data-uid="FarPoint.Win.SuperEdit.MaskFormatter.#ctor(FarPoint.Win.SuperEdit.MaskType,System.String)">
          <a class="xref" href="FarPoint.Win.SuperEdit.MaskFormatter.-ctor.html#FarPoint_Win_SuperEdit_MaskFormatter__ctor_FarPoint_Win_SuperEdit_MaskType_System_String_">MaskFormatter(MaskType, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new mask formatter with the specified type of mask and format.</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_SuperEdit_MaskFormatter_FormatString" data-uid="FarPoint.Win.SuperEdit.MaskFormatter.FormatString">
          <a class="xref" href="FarPoint.Win.SuperEdit.MaskFormatter.FormatString.html#FarPoint_Win_SuperEdit_MaskFormatter_FormatString">FormatString</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the format string.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SuperEdit_MaskFormatter_IgnoreThrowFormatException" data-uid="FarPoint.Win.SuperEdit.MaskFormatter.IgnoreThrowFormatException">
          <a class="xref" href="FarPoint.Win.SuperEdit.MaskFormatter.IgnoreThrowFormatException.html#FarPoint_Win_SuperEdit_MaskFormatter_IgnoreThrowFormatException">IgnoreThrowFormatException</a>
        </td>
        <td class="markdown level1 summary"><p>Sets allow ignore throw format exception or not.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SuperEdit_MaskFormatter_IsFmtStrParsed" data-uid="FarPoint.Win.SuperEdit.MaskFormatter.IsFmtStrParsed">
          <a class="xref" href="FarPoint.Win.SuperEdit.MaskFormatter.IsFmtStrParsed.html#FarPoint_Win_SuperEdit_MaskFormatter_IsFmtStrParsed">IsFmtStrParsed</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the format string has been parsed since
it was set or changed (or something else changed).</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SuperEdit_MaskFormatter_ManageInput" data-uid="FarPoint.Win.SuperEdit.MaskFormatter.ManageInput">
          <a class="xref" href="FarPoint.Win.SuperEdit.MaskFormatter.ManageInput.html#FarPoint_Win_SuperEdit_MaskFormatter_ManageInput">ManageInput</a>
        </td>
        <td class="markdown level1 summary"><p>If implemented, it supports methods which allow an editor
to use for validating and formatting user input.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SuperEdit_MaskFormatter_MaskChar" data-uid="FarPoint.Win.SuperEdit.MaskFormatter.MaskChar">
          <a class="xref" href="FarPoint.Win.SuperEdit.MaskFormatter.MaskChar.html#FarPoint_Win_SuperEdit_MaskFormatter_MaskChar">MaskChar</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the mask character.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SuperEdit_MaskFormatter_MaskType" data-uid="FarPoint.Win.SuperEdit.MaskFormatter.MaskType">
          <a class="xref" href="FarPoint.Win.SuperEdit.MaskFormatter.MaskType.html#FarPoint_Win_SuperEdit_MaskFormatter_MaskType">MaskType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the type of mask (ex: none, PicMask, Float).</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SuperEdit_MaskFormatter_RegionSettings" data-uid="FarPoint.Win.SuperEdit.MaskFormatter.RegionSettings">
          <a class="xref" href="FarPoint.Win.SuperEdit.MaskFormatter.RegionSettings.html#FarPoint_Win_SuperEdit_MaskFormatter_RegionSettings">RegionSettings</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the regional settings.</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_SuperEdit_MaskFormatter_FromFormattedString_System_String_" data-uid="FarPoint.Win.SuperEdit.MaskFormatter.FromFormattedString(System.String)">
          <a class="xref" href="FarPoint.Win.SuperEdit.MaskFormatter.FromFormattedString.html#FarPoint_Win_SuperEdit_MaskFormatter_FromFormattedString_System_String_">FromFormattedString(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Parses and returns the &quot;value&quot; from a formatted string.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SuperEdit_MaskFormatter_FromFormattedString_System_String_System_Boolean_" data-uid="FarPoint.Win.SuperEdit.MaskFormatter.FromFormattedString(System.String,System.Boolean)">
          <a class="xref" href="FarPoint.Win.SuperEdit.MaskFormatter.FromFormattedString.html#FarPoint_Win_SuperEdit_MaskFormatter_FromFormattedString_System_String_System_Boolean_">FromFormattedString(string, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Parses and returns the &quot;value&quot; from a formatted string.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SuperEdit_MaskFormatter_FromUnformattedString_System_String_" data-uid="FarPoint.Win.SuperEdit.MaskFormatter.FromUnformattedString(System.String)">
          <a class="xref" href="FarPoint.Win.SuperEdit.MaskFormatter.FromUnformattedString.html#FarPoint_Win_SuperEdit_MaskFormatter_FromUnformattedString_System_String_">FromUnformattedString(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Parses and returns the &quot;value&quot; from an unformatted string.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SuperEdit_MaskFormatter_HasNegativeSign_System_String_" data-uid="FarPoint.Win.SuperEdit.MaskFormatter.HasNegativeSign(System.String)">
          <a class="xref" href="FarPoint.Win.SuperEdit.MaskFormatter.HasNegativeSign.html#FarPoint_Win_SuperEdit_MaskFormatter_HasNegativeSign_System_String_">HasNegativeSign(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the specified text has a negative sign.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SuperEdit_MaskFormatter_OnCustomMask_System_Object_FarPoint_Win_SuperEdit_CustomMaskEventArgs_" data-uid="FarPoint.Win.SuperEdit.MaskFormatter.OnCustomMask(System.Object,FarPoint.Win.SuperEdit.CustomMaskEventArgs)">
          <a class="xref" href="FarPoint.Win.SuperEdit.MaskFormatter.OnCustomMask.html#FarPoint_Win_SuperEdit_MaskFormatter_OnCustomMask_System_Object_FarPoint_Win_SuperEdit_CustomMaskEventArgs_">OnCustomMask(object, CustomMaskEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the custom mask is used.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SuperEdit_MaskFormatter_ParseFormatString" data-uid="FarPoint.Win.SuperEdit.MaskFormatter.ParseFormatString">
          <a class="xref" href="FarPoint.Win.SuperEdit.MaskFormatter.ParseFormatString.html#FarPoint_Win_SuperEdit_MaskFormatter_ParseFormatString">ParseFormatString()</a>
        </td>
        <td class="markdown level1 summary"><p>Parses the format string.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SuperEdit_MaskFormatter_ToFormattedString_System_Object_" data-uid="FarPoint.Win.SuperEdit.MaskFormatter.ToFormattedString(System.Object)">
          <a class="xref" href="FarPoint.Win.SuperEdit.MaskFormatter.ToFormattedString.html#FarPoint_Win_SuperEdit_MaskFormatter_ToFormattedString_System_Object_">ToFormattedString(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a formatted string (plus attributes) for the value passed.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SuperEdit_MaskFormatter_ToUnformattedString_System_Object_" data-uid="FarPoint.Win.SuperEdit.MaskFormatter.ToUnformattedString(System.Object)">
          <a class="xref" href="FarPoint.Win.SuperEdit.MaskFormatter.ToUnformattedString.html#FarPoint_Win_SuperEdit_MaskFormatter_ToUnformattedString_System_Object_">ToUnformattedString(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns an unformatted string for the value passed.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_SuperEdit_MaskFormatter_VerifyParsedObject" data-uid="FarPoint.Win.SuperEdit.MaskFormatter.VerifyParsedObject">
          <a class="xref" href="FarPoint.Win.SuperEdit.MaskFormatter.VerifyParsedObject.html#FarPoint_Win_SuperEdit_MaskFormatter_VerifyParsedObject">VerifyParsedObject()</a>
        </td>
        <td class="markdown level1 summary"><p>Verifies the parsed object.</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="FarPoint_Win_SuperEdit_MaskFormatter_CustomMask" data-uid="FarPoint.Win.SuperEdit.MaskFormatter.CustomMask">
          <a class="xref" href="FarPoint.Win.SuperEdit.MaskFormatter.CustomMask.html">CustomMask</a>
        </td>
        <td class="markdown level1 summary"><p>Handles custom mask event.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
