# C1.Web.Mvc.Fluent.InputMaskBuilder

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_Fluent_InputMaskBuilder" data-uid="C1.Web.Mvc.Fluent.InputMaskBuilder" class="text-break">InputMaskBuilder Class
</h1>
  <div class="markdown level0 summary"><p>Defines a builder to configurate <a class="xref" href="C1.Web.Mvc.InputMask.html">InputMask</a>.</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">HideObjectMembers</span></div>
    <div class="level2"><a class="xref" href="C1.Web.Mvc.Fluent.BaseBuilder-2.html">BaseBuilder</a>&lt;<a class="xref" href="C1.Web.Mvc.InputMask.html">InputMask</a>, <a class="xref" href="C1.Web.Mvc.Fluent.InputMaskBuilder.html">InputMaskBuilder</a>&gt;</div>
    <div class="level3"><a class="xref" href="C1.Web.Mvc.Fluent.ComponentBuilder-2.html">ComponentBuilder</a>&lt;<a class="xref" href="C1.Web.Mvc.InputMask.html">InputMask</a>, <a class="xref" href="C1.Web.Mvc.Fluent.InputMaskBuilder.html">InputMaskBuilder</a>&gt;</div>
    <div class="level4"><a class="xref" href="C1.Web.Mvc.Fluent.ControlBuilder-2.html">ControlBuilder</a>&lt;<a class="xref" href="C1.Web.Mvc.InputMask.html">InputMask</a>, <a class="xref" href="C1.Web.Mvc.Fluent.InputMaskBuilder.html">InputMaskBuilder</a>&gt;</div>
    <div class="level5"><a class="xref" href="C1.Web.Mvc.Fluent.InputBaseBuilder-2.html">InputBaseBuilder</a>&lt;<a class="xref" href="C1.Web.Mvc.InputMask.html">InputMask</a>, <a class="xref" href="C1.Web.Mvc.Fluent.InputMaskBuilder.html">InputMaskBuilder</a>&gt;</div>
    <div class="level6"><a class="xref" href="C1.Web.Mvc.Fluent.FormInputBaseBuilder-2.html">FormInputBaseBuilder</a>&lt;<a class="xref" href="C1.Web.Mvc.InputMask.html">InputMask</a>, <a class="xref" href="C1.Web.Mvc.Fluent.InputMaskBuilder.html">InputMaskBuilder</a>&gt;</div>
    <div class="level7"><span class="xref">InputMaskBuilder</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.html.ihtmlcontent">IHtmlContent</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.Fluent.html">C1.Web.Mvc.Fluent</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.dll</h6>
  <h5 id="C1_Web_Mvc_Fluent_InputMaskBuilder_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class InputMaskBuilder : FormInputBaseBuilder&lt;InputMask, InputMaskBuilder&gt;, IHtmlContent</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class InputMaskBuilder
    Inherits FormInputBaseBuilder(Of InputMask, InputMaskBuilder)
    Implements IHtmlContent</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="C1_Web_Mvc_Fluent_InputMaskBuilder__ctor_C1_Web_Mvc_InputMask_" data-uid="C1.Web.Mvc.Fluent.InputMaskBuilder.#ctor(C1.Web.Mvc.InputMask)">
          <a class="xref" href="C1.Web.Mvc.Fluent.InputMaskBuilder.-ctor.html#C1_Web_Mvc_Fluent_InputMaskBuilder__ctor_C1_Web_Mvc_InputMask_">InputMaskBuilder(InputMask)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates one <a class="xref" href="C1.Web.Mvc.Fluent.InputMaskBuilder.html">InputMaskBuilder</a> instance to configurate <code class="paramref">component</code>.</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="C1_Web_Mvc_Fluent_InputMaskBuilder_InputType_System_String_" data-uid="C1.Web.Mvc.Fluent.InputMaskBuilder.InputType(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.InputMaskBuilder.InputType.html#C1_Web_Mvc_Fluent_InputMaskBuilder_InputType_System_String_">InputType(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.InputMask.InputType.html#C1_Web_Mvc_InputMask_InputType">InputType</a>.
Sets the &quot;type&quot; attribute of the HTML input element hosted by the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_InputMaskBuilder_IsReadOnly_System_Boolean_" data-uid="C1.Web.Mvc.Fluent.InputMaskBuilder.IsReadOnly(System.Boolean)">
          <a class="xref" href="C1.Web.Mvc.Fluent.InputMaskBuilder.IsReadOnly.html#C1_Web_Mvc_Fluent_InputMaskBuilder_IsReadOnly_System_Boolean_">IsReadOnly(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.InputMask.IsReadOnly.html#C1_Web_Mvc_InputMask_IsReadOnly">IsReadOnly</a>.
Sets a value that indicates whether the user can modify the control value using the mouse and keyboard.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_InputMaskBuilder_IsRequired_System_Boolean_" data-uid="C1.Web.Mvc.Fluent.InputMaskBuilder.IsRequired(System.Boolean)">
          <a class="xref" href="C1.Web.Mvc.Fluent.InputMaskBuilder.IsRequired.html#C1_Web_Mvc_Fluent_InputMaskBuilder_IsRequired_System_Boolean_">IsRequired(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.InputMask.IsRequired.html#C1_Web_Mvc_InputMask_IsRequired">IsRequired</a>.
Sets a value indicating whether the control value must be a non-empty string.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_InputMaskBuilder_Mask_System_String_" data-uid="C1.Web.Mvc.Fluent.InputMaskBuilder.Mask(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.InputMaskBuilder.Mask.html#C1_Web_Mvc_Fluent_InputMaskBuilder_Mask_System_String_">Mask(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.InputMask.Mask.html#C1_Web_Mvc_InputMask_Mask">Mask</a>.
Sets the mask used to validate the input as the user types.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_InputMaskBuilder_OnClientInvalidInput_System_String_" data-uid="C1.Web.Mvc.Fluent.InputMaskBuilder.OnClientInvalidInput(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.InputMaskBuilder.OnClientInvalidInput.html#C1_Web_Mvc_Fluent_InputMaskBuilder_OnClientInvalidInput_System_String_">OnClientInvalidInput(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates the <a class="xref" href="C1.Web.Mvc.InputMask.OnClientInvalidInput.html#C1_Web_Mvc_InputMask_OnClientInvalidInput">OnClientInvalidInput</a> client event.
Occurs when invalid input is detected.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_InputMaskBuilder_OnClientValueChanged_System_String_" data-uid="C1.Web.Mvc.Fluent.InputMaskBuilder.OnClientValueChanged(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.InputMaskBuilder.OnClientValueChanged.html#C1_Web_Mvc_Fluent_InputMaskBuilder_OnClientValueChanged_System_String_">OnClientValueChanged(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates the <a class="xref" href="C1.Web.Mvc.InputMask.OnClientValueChanged.html#C1_Web_Mvc_InputMask_OnClientValueChanged">OnClientValueChanged</a> client event.
Occurs when the value of the Value property changes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_InputMaskBuilder_OverwriteMode_System_Boolean_" data-uid="C1.Web.Mvc.Fluent.InputMaskBuilder.OverwriteMode(System.Boolean)">
          <a class="xref" href="C1.Web.Mvc.Fluent.InputMaskBuilder.OverwriteMode.html#C1_Web_Mvc_Fluent_InputMaskBuilder_OverwriteMode_System_Boolean_">OverwriteMode(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.InputMask.OverwriteMode.html#C1_Web_Mvc_InputMask_OverwriteMode">OverwriteMode</a>.
Sets a value that determines whether the input element handles input in overwrite mode. In <strong>overwrite mode</strong>, every character you type is displayed at the cursor position. If a character is already at that position, it is replaced.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_InputMaskBuilder_Placeholder_System_String_" data-uid="C1.Web.Mvc.Fluent.InputMaskBuilder.Placeholder(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.InputMaskBuilder.Placeholder.html#C1_Web_Mvc_Fluent_InputMaskBuilder_Placeholder_System_String_">Placeholder(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.InputMask.Placeholder.html#C1_Web_Mvc_InputMask_Placeholder">Placeholder</a>.
Sets the string shown as a hint when the control is empty.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_InputMaskBuilder_PromptChar_System_Char_" data-uid="C1.Web.Mvc.Fluent.InputMaskBuilder.PromptChar(System.Char)">
          <a class="xref" href="C1.Web.Mvc.Fluent.InputMaskBuilder.PromptChar.html#C1_Web_Mvc_Fluent_InputMaskBuilder_PromptChar_System_Char_">PromptChar(char)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.InputMask.PromptChar.html#C1_Web_Mvc_InputMask_PromptChar">PromptChar</a>.
Sets the symbol used to show input positions in the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_InputMaskBuilder_RawValue_System_String_" data-uid="C1.Web.Mvc.Fluent.InputMaskBuilder.RawValue(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.InputMaskBuilder.RawValue.html#C1_Web_Mvc_Fluent_InputMaskBuilder_RawValue_System_String_">RawValue(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.InputMask.RawValue.html#C1_Web_Mvc_InputMask_RawValue">RawValue</a>.
Sets the raw value of the control (excluding mask literals).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_InputMaskBuilder_Value_System_String_" data-uid="C1.Web.Mvc.Fluent.InputMaskBuilder.Value(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.InputMaskBuilder.Value.html#C1_Web_Mvc_Fluent_InputMaskBuilder_Value_System_String_">Value(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.InputMask.Value.html#C1_Web_Mvc_InputMask_Value">Value</a>.
Sets the text currently shown in the control.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
