# C1.Web.Mvc.InputTime-1

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_InputTime_1" data-uid="C1.Web.Mvc.InputTime`1" class="text-break">InputTime&lt;T&gt; Class
</h1>
  <div class="markdown level0 summary"><p>The InputTime control allows users to enter times using any format supported by the Globalize class, or to pick times from a drop-down list.</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="C1.Web.Mvc.Component.html">Component</a></div>
    <div class="level2"><a class="xref" href="C1.Web.Mvc.Control.html">Control</a></div>
    <div class="level3"><a class="xref" href="C1.Web.Mvc.ItemsBoundControl-1.html">ItemsBoundControl</a>&lt;T&gt;</div>
    <div class="level4"><a class="xref" href="C1.Web.Mvc.DropDown-1.html">DropDown</a>&lt;T&gt;</div>
    <div class="level5"><a class="xref" href="C1.Web.Mvc.ComboBoxBase-1.html">ComboBoxBase</a>&lt;T&gt;</div>
    <div class="level6"><span class="xref">InputTime&lt;T&gt;</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><a class="xref" href="C1.Web.Mvc.ITemplate.html">ITemplate</a></div>
    <div><a class="xref" href="C1.Web.Mvc.IDropDown.html">IDropDown</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.html">C1.Web.Mvc</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.dll</h6>
  <h5 id="C1_Web_Mvc_InputTime_1_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class InputTime&lt;T&gt; : ComboBoxBase&lt;T&gt;, IHtmlContent, ITemplate, IDropDown</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class InputTime(Of T)
    Inherits ComboBoxBase(Of T)
    Implements IHtmlContent, ITemplate, IDropDown</code></pre>
  </div>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <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_InputTime_1__ctor_Microsoft_AspNetCore_Mvc_Rendering_IHtmlHelper_System_String_" data-uid="C1.Web.Mvc.InputTime`1.#ctor(Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper,System.String)">
          <a class="xref" href="C1.Web.Mvc.InputTime-1.-ctor.html#C1_Web_Mvc_InputTime_1__ctor_Microsoft_AspNetCore_Mvc_Rendering_IHtmlHelper_System_String_">InputTime(IHtmlHelper, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates one <a class="xref" href="C1.Web.Mvc.InputTime-1.html">InputTime&lt;T&gt;</a> instance.</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="C1_Web_Mvc_InputTime_1_AutoExpandSelection" data-uid="C1.Web.Mvc.InputTime`1.AutoExpandSelection">
          <a class="xref" href="C1.Web.Mvc.InputTime-1.AutoExpandSelection.html#C1_Web_Mvc_InputTime_1_AutoExpandSelection">AutoExpandSelection</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that indicates whether the control should automatically
expand the selection to whole words/numbers when the control is clicked.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_InputTime_1_Format" data-uid="C1.Web.Mvc.InputTime`1.Format">
          <a class="xref" href="C1.Web.Mvc.InputTime-1.Format.html#C1_Web_Mvc_InputTime_1_Format">Format</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the format used to display the selected time (see Globalize).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_InputTime_1_InputType" data-uid="C1.Web.Mvc.InputTime`1.InputType">
          <a class="xref" href="C1.Web.Mvc.InputTime-1.InputType.html#C1_Web_Mvc_InputTime_1_InputType">InputType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the &quot;type&quot; attribute of the HTML input element hosted by the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_InputTime_1_IsEditable" data-uid="C1.Web.Mvc.InputTime`1.IsEditable">
          <a class="xref" href="C1.Web.Mvc.InputTime-1.IsEditable.html#C1_Web_Mvc_InputTime_1_IsEditable">IsEditable</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that indicates whether the value should be edited.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_InputTime_1_Mask" data-uid="C1.Web.Mvc.InputTime`1.Mask">
          <a class="xref" href="C1.Web.Mvc.InputTime-1.Mask.html#C1_Web_Mvc_InputTime_1_Mask">Mask</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a mask to use while the user is editing.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_InputTime_1_Max" data-uid="C1.Web.Mvc.InputTime`1.Max">
          <a class="xref" href="C1.Web.Mvc.InputTime-1.Max.html#C1_Web_Mvc_InputTime_1_Max">Max</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the latest time that the user can enter.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_InputTime_1_Min" data-uid="C1.Web.Mvc.InputTime`1.Min">
          <a class="xref" href="C1.Web.Mvc.InputTime-1.Min.html#C1_Web_Mvc_InputTime_1_Min">Min</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the earliest time that the user can enter.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_InputTime_1_Name" data-uid="C1.Web.Mvc.InputTime`1.Name">
          <a class="xref" href="C1.Web.Mvc.InputTime-1.Name.html#C1_Web_Mvc_InputTime_1_Name">Name</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name of the InputTime control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_InputTime_1_OnClientInvalidInput" data-uid="C1.Web.Mvc.InputTime`1.OnClientInvalidInput">
          <a class="xref" href="C1.Web.Mvc.InputTime-1.OnClientInvalidInput.html#C1_Web_Mvc_InputTime_1_OnClientInvalidInput">OnClientInvalidInput</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when invalid input is detected.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_InputTime_1_OnClientValueChanged" data-uid="C1.Web.Mvc.InputTime`1.OnClientValueChanged">
          <a class="xref" href="C1.Web.Mvc.InputTime-1.OnClientValueChanged.html#C1_Web_Mvc_InputTime_1_OnClientValueChanged">OnClientValueChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs after a new time is selected.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_InputTime_1_Step" data-uid="C1.Web.Mvc.InputTime`1.Step">
          <a class="xref" href="C1.Web.Mvc.InputTime-1.Step.html#C1_Web_Mvc_InputTime_1_Step">Step</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the number of minutes between entries in the drop-down list.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_InputTime_1_Value" data-uid="C1.Web.Mvc.InputTime`1.Value">
          <a class="xref" href="C1.Web.Mvc.InputTime-1.Value.html#C1_Web_Mvc_InputTime_1_Value">Value</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the current input time.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
