# C1.Web.Mvc.Fluent.InputNumberBuilder

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_Fluent_InputNumberBuilder" data-uid="C1.Web.Mvc.Fluent.InputNumberBuilder" class="text-break">InputNumberBuilder Class
</h1>
  <div class="markdown level0 summary"><p>Defines a builder to configurate <a class="xref" href="C1.Web.Mvc.InputNumber.html">InputNumber</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.InputNumber.html">InputNumber</a>, <a class="xref" href="C1.Web.Mvc.Fluent.InputNumberBuilder.html">InputNumberBuilder</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.InputNumber.html">InputNumber</a>, <a class="xref" href="C1.Web.Mvc.Fluent.InputNumberBuilder.html">InputNumberBuilder</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.InputNumber.html">InputNumber</a>, <a class="xref" href="C1.Web.Mvc.Fluent.InputNumberBuilder.html">InputNumberBuilder</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.InputNumber.html">InputNumber</a>, <a class="xref" href="C1.Web.Mvc.Fluent.InputNumberBuilder.html">InputNumberBuilder</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.InputNumber.html">InputNumber</a>, <a class="xref" href="C1.Web.Mvc.Fluent.InputNumberBuilder.html">InputNumberBuilder</a>&gt;</div>
    <div class="level7"><span class="xref">InputNumberBuilder</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_InputNumberBuilder_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class InputNumberBuilder : FormInputBaseBuilder&lt;InputNumber, InputNumberBuilder&gt;, IHtmlContent</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class InputNumberBuilder
    Inherits FormInputBaseBuilder(Of InputNumber, InputNumberBuilder)
    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_InputNumberBuilder__ctor_C1_Web_Mvc_InputNumber_" data-uid="C1.Web.Mvc.Fluent.InputNumberBuilder.#ctor(C1.Web.Mvc.InputNumber)">
          <a class="xref" href="C1.Web.Mvc.Fluent.InputNumberBuilder.-ctor.html#C1_Web_Mvc_Fluent_InputNumberBuilder__ctor_C1_Web_Mvc_InputNumber_">InputNumberBuilder(InputNumber)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates one <a class="xref" href="C1.Web.Mvc.Fluent.InputNumberBuilder.html">InputNumberBuilder</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_InputNumberBuilder_AriaLabelledBy_System_String_" data-uid="C1.Web.Mvc.Fluent.InputNumberBuilder.AriaLabelledBy(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.InputNumberBuilder.AriaLabelledBy.html#C1_Web_Mvc_Fluent_InputNumberBuilder_AriaLabelledBy_System_String_">AriaLabelledBy(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.InputNumber.AriaLabelledBy.html#C1_Web_Mvc_InputNumber_AriaLabelledBy">AriaLabelledBy</a>.
Sets the aria-labelledby attribute of input element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_InputNumberBuilder_Format_System_String_" data-uid="C1.Web.Mvc.Fluent.InputNumberBuilder.Format(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.InputNumberBuilder.Format.html#C1_Web_Mvc_Fluent_InputNumberBuilder_Format_System_String_">Format(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.InputNumber.Format.html#C1_Web_Mvc_InputNumber_Format">Format</a>.
Sets the format used to display the number being edited (see Globalize).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_InputNumberBuilder_HandleWheel_System_Boolean_" data-uid="C1.Web.Mvc.Fluent.InputNumberBuilder.HandleWheel(System.Boolean)">
          <a class="xref" href="C1.Web.Mvc.Fluent.InputNumberBuilder.HandleWheel.html#C1_Web_Mvc_Fluent_InputNumberBuilder_HandleWheel_System_Boolean_">HandleWheel(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.InputNumber.HandleWheel.html#C1_Web_Mvc_InputNumber_HandleWheel">HandleWheel</a>.
Sets a value that determines whether the user can edit the value using the mouse wheel.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_InputNumberBuilder_InputType_System_String_" data-uid="C1.Web.Mvc.Fluent.InputNumberBuilder.InputType(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.InputNumberBuilder.InputType.html#C1_Web_Mvc_Fluent_InputNumberBuilder_InputType_System_String_">InputType(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.InputNumber.InputType.html#C1_Web_Mvc_InputNumber_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_InputNumberBuilder_IsReadOnly_System_Boolean_" data-uid="C1.Web.Mvc.Fluent.InputNumberBuilder.IsReadOnly(System.Boolean)">
          <a class="xref" href="C1.Web.Mvc.Fluent.InputNumberBuilder.IsReadOnly.html#C1_Web_Mvc_Fluent_InputNumberBuilder_IsReadOnly_System_Boolean_">IsReadOnly(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.InputNumber.IsReadOnly.html#C1_Web_Mvc_InputNumber_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_InputNumberBuilder_IsRequired_System_Boolean_" data-uid="C1.Web.Mvc.Fluent.InputNumberBuilder.IsRequired(System.Boolean)">
          <a class="xref" href="C1.Web.Mvc.Fluent.InputNumberBuilder.IsRequired.html#C1_Web_Mvc_Fluent_InputNumberBuilder_IsRequired_System_Boolean_">IsRequired(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.InputNumber.IsRequired.html#C1_Web_Mvc_InputNumber_IsRequired">IsRequired</a>.
Sets a value indicating whether the control value must be a number or whether it can be set to null (by deleting the content of the control).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_InputNumberBuilder_Max_System_Nullable_System_Double__" data-uid="C1.Web.Mvc.Fluent.InputNumberBuilder.Max(System.Nullable{System.Double})">
          <a class="xref" href="C1.Web.Mvc.Fluent.InputNumberBuilder.Max.html#C1_Web_Mvc_Fluent_InputNumberBuilder_Max_System_Nullable_System_Double__">Max(double?)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.InputNumber.Max.html#C1_Web_Mvc_InputNumber_Max">Max</a>.
Sets the largest number that the user can enter.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_InputNumberBuilder_Min_System_Nullable_System_Double__" data-uid="C1.Web.Mvc.Fluent.InputNumberBuilder.Min(System.Nullable{System.Double})">
          <a class="xref" href="C1.Web.Mvc.Fluent.InputNumberBuilder.Min.html#C1_Web_Mvc_Fluent_InputNumberBuilder_Min_System_Nullable_System_Double__">Min(double?)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.InputNumber.Min.html#C1_Web_Mvc_InputNumber_Min">Min</a>.
Sets the smallest number that the user can enter.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_InputNumberBuilder_OnClientInvalidInput_System_String_" data-uid="C1.Web.Mvc.Fluent.InputNumberBuilder.OnClientInvalidInput(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.InputNumberBuilder.OnClientInvalidInput.html#C1_Web_Mvc_Fluent_InputNumberBuilder_OnClientInvalidInput_System_String_">OnClientInvalidInput(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates the <a class="xref" href="C1.Web.Mvc.InputNumber.OnClientInvalidInput.html#C1_Web_Mvc_InputNumber_OnClientInvalidInput">OnClientInvalidInput</a> client event.
Occurs when invalid input is detected.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_InputNumberBuilder_OnClientTextChanged_System_String_" data-uid="C1.Web.Mvc.Fluent.InputNumberBuilder.OnClientTextChanged(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.InputNumberBuilder.OnClientTextChanged.html#C1_Web_Mvc_Fluent_InputNumberBuilder_OnClientTextChanged_System_String_">OnClientTextChanged(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates the <a class="xref" href="C1.Web.Mvc.InputNumber.OnClientTextChanged.html#C1_Web_Mvc_InputNumber_OnClientTextChanged">OnClientTextChanged</a> client event.
Occurs when the value of the Text property changes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_InputNumberBuilder_OnClientValueChanged_System_String_" data-uid="C1.Web.Mvc.Fluent.InputNumberBuilder.OnClientValueChanged(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.InputNumberBuilder.OnClientValueChanged.html#C1_Web_Mvc_Fluent_InputNumberBuilder_OnClientValueChanged_System_String_">OnClientValueChanged(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates the <a class="xref" href="C1.Web.Mvc.InputNumber.OnClientValueChanged.html#C1_Web_Mvc_InputNumber_OnClientValueChanged">OnClientValueChanged</a> client event.
Occurs when the value of the Value property changes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_InputNumberBuilder_Placeholder_System_String_" data-uid="C1.Web.Mvc.Fluent.InputNumberBuilder.Placeholder(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.InputNumberBuilder.Placeholder.html#C1_Web_Mvc_Fluent_InputNumberBuilder_Placeholder_System_String_">Placeholder(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.InputNumber.Placeholder.html#C1_Web_Mvc_InputNumber_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_InputNumberBuilder_RepeatButtons_System_Boolean_" data-uid="C1.Web.Mvc.Fluent.InputNumberBuilder.RepeatButtons(System.Boolean)">
          <a class="xref" href="C1.Web.Mvc.Fluent.InputNumberBuilder.RepeatButtons.html#C1_Web_Mvc_Fluent_InputNumberBuilder_RepeatButtons_System_Boolean_">RepeatButtons(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.InputNumber.RepeatButtons.html#C1_Web_Mvc_InputNumber_RepeatButtons">RepeatButtons</a>.
Sets a value that determines whether the spinner buttons should act as repeat buttons, firing repeatedly as the button remains pressed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_InputNumberBuilder_ShowSpinner_System_Boolean_" data-uid="C1.Web.Mvc.Fluent.InputNumberBuilder.ShowSpinner(System.Boolean)">
          <a class="xref" href="C1.Web.Mvc.Fluent.InputNumberBuilder.ShowSpinner.html#C1_Web_Mvc_Fluent_InputNumberBuilder_ShowSpinner_System_Boolean_">ShowSpinner(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.InputNumber.ShowSpinner.html#C1_Web_Mvc_InputNumber_ShowSpinner">ShowSpinner</a>.
Sets a value indicating whether the control displays spinner buttons to increment or decrement the value (the step property must be set to a non-zero value).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_InputNumberBuilder_Step_System_Double_" data-uid="C1.Web.Mvc.Fluent.InputNumberBuilder.Step(System.Double)">
          <a class="xref" href="C1.Web.Mvc.Fluent.InputNumberBuilder.Step.html#C1_Web_Mvc_Fluent_InputNumberBuilder_Step_System_Double_">Step(double)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.InputNumber.Step.html#C1_Web_Mvc_InputNumber_Step">Step</a>.
Sets the amount to add or subtract to the Value property when the user clicks the spinner buttons.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_InputNumberBuilder_Text_System_String_" data-uid="C1.Web.Mvc.Fluent.InputNumberBuilder.Text(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.InputNumberBuilder.Text.html#C1_Web_Mvc_Fluent_InputNumberBuilder_Text_System_String_">Text(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.InputNumber.Text.html#C1_Web_Mvc_InputNumber_Text">Text</a>.
Sets the text shown in the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_InputNumberBuilder_Value_System_Nullable_System_Double__" data-uid="C1.Web.Mvc.Fluent.InputNumberBuilder.Value(System.Nullable{System.Double})">
          <a class="xref" href="C1.Web.Mvc.Fluent.InputNumberBuilder.Value.html#C1_Web_Mvc_Fluent_InputNumberBuilder_Value_System_Nullable_System_Double__">Value(double?)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.InputNumber.Value.html#C1_Web_Mvc_InputNumber_Value">Value</a>.
Sets the current value of the control.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
