# C1.Win.InputPanel.InputTimePicker

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_InputPanel_InputTimePicker" data-uid="C1.Win.InputPanel.InputTimePicker" class="text-break">InputTimePicker Class
</h1>
  <div class="markdown level0 summary"><p>Represents a time-picker element in a <a class="xref" href="C1.Win.InputPanel.C1InputPanel.html">C1InputPanel</a> control.</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="https://learn.microsoft.com/dotnet/api/system.marshalbyrefobject">MarshalByRefObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.component">Component</a></div>
    <div class="level3"><a class="xref" href="C1.Win.InputPanel.InputComponent.html">InputComponent</a></div>
    <div class="level4"><span class="xref">InputTimePicker</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.ibindablecomponent">IBindableComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icomponent">IComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><a class="xref" href="C1.Win.InputPanel.IInputXmlSerializable.html">IInputXmlSerializable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.InputPanel.html">C1.Win.InputPanel</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.InputPanel.10.dll</h6>
  <h5 id="C1_Win_InputPanel_InputTimePicker_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class InputTimePicker : InputComponent, IBindableComponent, IComponent, IDisposable, IInputXmlSerializable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class InputTimePicker
    Inherits InputComponent
    Implements IBindableComponent, IComponent, IDisposable, IInputXmlSerializable</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_Win_InputPanel_InputTimePicker__ctor" data-uid="C1.Win.InputPanel.InputTimePicker.#ctor">
          <a class="xref" href="C1.Win.InputPanel.InputTimePicker.-ctor.html#C1_Win_InputPanel_InputTimePicker__ctor">InputTimePicker()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of an <a class="xref" href="C1.Win.InputPanel.InputTimePicker.html">InputTimePicker</a>.</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_Win_InputPanel_InputTimePicker_BoundToTimeField" data-uid="C1.Win.InputPanel.InputTimePicker.BoundToTimeField">
          <a class="xref" href="C1.Win.InputPanel.InputTimePicker.BoundToTimeField.html#C1_Win_InputPanel_InputTimePicker_BoundToTimeField">BoundToTimeField</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the <a class="xref" href="C1.Win.InputPanel.InputTimePicker.BoundValue.html#C1_Win_InputPanel_InputTimePicker_BoundValue">BoundValue</a> property should return a TimeSpan value instead of DateTime.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_InputPanel_InputTimePicker_BoundValue" data-uid="C1.Win.InputPanel.InputTimePicker.BoundValue">
          <a class="xref" href="C1.Win.InputPanel.InputTimePicker.BoundValue.html#C1_Win_InputPanel_InputTimePicker_BoundValue">BoundValue</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the bound time value associated with this component.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_InputPanel_InputTimePicker_Command" data-uid="C1.Win.InputPanel.InputTimePicker.Command">
          <a class="xref" href="C1.Win.InputPanel.InputTimePicker.Command.html#C1_Win_InputPanel_InputTimePicker_Command">Command</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.input.icommand">ICommand</a> whose <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.input.icommand.execute">Execute(object)</a>
method will be called when the <a class="xref" href="C1.Win.InputPanel.InputTimePicker.OnValueChanged.html#C1_Win_InputPanel_InputTimePicker_OnValueChanged_System_EventArgs_">OnValueChanged(EventArgs)</a> event gets invoked.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_InputPanel_InputTimePicker_CommandParameter" data-uid="C1.Win.InputPanel.InputTimePicker.CommandParameter">
          <a class="xref" href="C1.Win.InputPanel.InputTimePicker.CommandParameter.html#C1_Win_InputPanel_InputTimePicker_CommandParameter">CommandParameter</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the parameter to pass to the <a class="xref" href="C1.Win.InputPanel.InputTimePicker.Command.html#C1_Win_InputPanel_InputTimePicker_Command">Command</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_InputPanel_InputTimePicker_ContextMenuStrip" data-uid="C1.Win.InputPanel.InputTimePicker.ContextMenuStrip">
          <a class="xref" href="C1.Win.InputPanel.InputTimePicker.ContextMenuStrip.html#C1_Win_InputPanel_InputTimePicker_ContextMenuStrip">ContextMenuStrip</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the context menu strip associated with the text box.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_InputPanel_InputTimePicker_CueBanner" data-uid="C1.Win.InputPanel.InputTimePicker.CueBanner">
          <a class="xref" href="C1.Win.InputPanel.InputTimePicker.CueBanner.html#C1_Win_InputPanel_InputTimePicker_CueBanner">CueBanner</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the textual cue, or tip, that is displayed by <a class="xref" href="C1.Win.InputPanel.InputTimePicker.html">InputTimePicker</a> to prompt the user for information.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_InputPanel_InputTimePicker_DefaultElementWidth" data-uid="C1.Win.InputPanel.InputTimePicker.DefaultElementWidth">
          <a class="xref" href="C1.Win.InputPanel.InputTimePicker.DefaultElementWidth.html#C1_Win_InputPanel_InputTimePicker_DefaultElementWidth">DefaultElementWidth</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the default width of the <a class="xref" href="C1.Win.InputPanel.InputTimePicker.html">InputTimePicker</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_InputPanel_InputTimePicker_DefaultWidth" data-uid="C1.Win.InputPanel.InputTimePicker.DefaultWidth">
          <a class="xref" href="C1.Win.InputPanel.InputTimePicker.DefaultWidth.html#C1_Win_InputPanel_InputTimePicker_DefaultWidth">DefaultWidth</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the default width of the <a class="xref" href="C1.Win.InputPanel.InputTimePicker.html">InputTimePicker</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_InputPanel_InputTimePicker_Format" data-uid="C1.Win.InputPanel.InputTimePicker.Format">
          <a class="xref" href="C1.Win.InputPanel.InputTimePicker.Format.html#C1_Win_InputPanel_InputTimePicker_Format">Format</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the custom time format string.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_InputPanel_InputTimePicker_InitialSelection" data-uid="C1.Win.InputPanel.InputTimePicker.InitialSelection">
          <a class="xref" href="C1.Win.InputPanel.InputTimePicker.InitialSelection.html#C1_Win_InputPanel_InputTimePicker_InitialSelection">InitialSelection</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value determines the selection position when a control receives input focus.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_InputPanel_InputTimePicker_NotSetVerticalAlign" data-uid="C1.Win.InputPanel.InputTimePicker.NotSetVerticalAlign">
          <a class="xref" href="C1.Win.InputPanel.InputTimePicker.NotSetVerticalAlign.html#C1_Win_InputPanel_InputTimePicker_NotSetVerticalAlign">NotSetVerticalAlign</a>
        </td>
        <td class="markdown level1 summary"><p>Gets actual vertical alignment when the VerticalAlign property is equal to NotSet.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_InputPanel_InputTimePicker_ReadOnly" data-uid="C1.Win.InputPanel.InputTimePicker.ReadOnly">
          <a class="xref" href="C1.Win.InputPanel.InputTimePicker.ReadOnly.html#C1_Win_InputPanel_InputTimePicker_ReadOnly">ReadOnly</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the contents of the component can be changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_InputPanel_InputTimePicker_ShowSpinButtons" data-uid="C1.Win.InputPanel.InputTimePicker.ShowSpinButtons">
          <a class="xref" href="C1.Win.InputPanel.InputTimePicker.ShowSpinButtons.html#C1_Win_InputPanel_InputTimePicker_ShowSpinButtons">ShowSpinButtons</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the spin buttons should appear in the <a class="xref" href="C1.Win.InputPanel.InputTimePicker.html">InputTimePicker</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_InputPanel_InputTimePicker_SpinButtonPressDelay" data-uid="C1.Win.InputPanel.InputTimePicker.SpinButtonPressDelay">
          <a class="xref" href="C1.Win.InputPanel.InputTimePicker.SpinButtonPressDelay.html#C1_Win_InputPanel_InputTimePicker_SpinButtonPressDelay">SpinButtonPressDelay</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the interval before the spin buttons start firing click events, in milliseconds.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_InputPanel_InputTimePicker_SpinButtonPressInterval" data-uid="C1.Win.InputPanel.InputTimePicker.SpinButtonPressInterval">
          <a class="xref" href="C1.Win.InputPanel.InputTimePicker.SpinButtonPressInterval.html#C1_Win_InputPanel_InputTimePicker_SpinButtonPressInterval">SpinButtonPressInterval</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the interval between clicks when the spin buttons are kept pressed, in milliseconds.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_InputPanel_InputTimePicker_StandardFormat" data-uid="C1.Win.InputPanel.InputTimePicker.StandardFormat">
          <a class="xref" href="C1.Win.InputPanel.InputTimePicker.StandardFormat.html#C1_Win_InputPanel_InputTimePicker_StandardFormat">StandardFormat</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the standard time format.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_InputPanel_InputTimePicker_Text" data-uid="C1.Win.InputPanel.InputTimePicker.Text">
          <a class="xref" href="C1.Win.InputPanel.InputTimePicker.Text.html#C1_Win_InputPanel_InputTimePicker_Text">Text</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text associated with the component.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_InputPanel_InputTimePicker_TextAlign" data-uid="C1.Win.InputPanel.InputTimePicker.TextAlign">
          <a class="xref" href="C1.Win.InputPanel.InputTimePicker.TextAlign.html#C1_Win_InputPanel_InputTimePicker_TextAlign">TextAlign</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets how text is aligned in the <a class="xref" href="C1.Win.InputPanel.InputTimePicker.html">InputTimePicker</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_InputPanel_InputTimePicker_TextBox" data-uid="C1.Win.InputPanel.InputTimePicker.TextBox">
          <a class="xref" href="C1.Win.InputPanel.InputTimePicker.TextBox.html#C1_Win_InputPanel_InputTimePicker_TextBox">TextBox</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.Win.InputPanel.InputTimePicker.TextBox.html#C1_Win_InputPanel_InputTimePicker_TextBox">TextBox</a> control contained in this <a class="xref" href="C1.Win.InputPanel.InputTimePicker.html">InputTimePicker</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_InputPanel_InputTimePicker_TimeFormat" data-uid="C1.Win.InputPanel.InputTimePicker.TimeFormat">
          <a class="xref" href="C1.Win.InputPanel.InputTimePicker.TimeFormat.html#C1_Win_InputPanel_InputTimePicker_TimeFormat">TimeFormat</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.globalization.datetimeformatinfo">DateTimeFormatInfo</a> that is used for data formatting.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_InputPanel_InputTimePicker_Value" data-uid="C1.Win.InputPanel.InputTimePicker.Value">
          <a class="xref" href="C1.Win.InputPanel.InputTimePicker.Value.html#C1_Win_InputPanel_InputTimePicker_Value">Value</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the time value assigned to the component.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_InputPanel_InputTimePicker_ValueIsNull" data-uid="C1.Win.InputPanel.InputTimePicker.ValueIsNull">
          <a class="xref" href="C1.Win.InputPanel.InputTimePicker.ValueIsNull.html#C1_Win_InputPanel_InputTimePicker_ValueIsNull">ValueIsNull</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the selected time is null.</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_Win_InputPanel_InputTimePicker_Dispose_System_Boolean_" data-uid="C1.Win.InputPanel.InputTimePicker.Dispose(System.Boolean)">
          <a class="xref" href="C1.Win.InputPanel.InputTimePicker.Dispose.html#C1_Win_InputPanel_InputTimePicker_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Clean up any resources being used.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_InputPanel_InputTimePicker_DownButton" data-uid="C1.Win.InputPanel.InputTimePicker.DownButton">
          <a class="xref" href="C1.Win.InputPanel.InputTimePicker.DownButton.html#C1_Win_InputPanel_InputTimePicker_DownButton">DownButton()</a>
        </td>
        <td class="markdown level1 summary"><p>Simulates a click of the down button.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_InputPanel_InputTimePicker_OnFormatChanged_System_EventArgs_" data-uid="C1.Win.InputPanel.InputTimePicker.OnFormatChanged(System.EventArgs)">
          <a class="xref" href="C1.Win.InputPanel.InputTimePicker.OnFormatChanged.html#C1_Win_InputPanel_InputTimePicker_OnFormatChanged_System_EventArgs_">OnFormatChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="C1.Win.InputPanel.InputTimePicker.FormatChanged.html">FormatChanged</a> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_InputPanel_InputTimePicker_OnPrepareTimeFormat_C1_Win_InputPanel_PrepareDateTimeFormatEventArgs_" data-uid="C1.Win.InputPanel.InputTimePicker.OnPrepareTimeFormat(C1.Win.InputPanel.PrepareDateTimeFormatEventArgs)">
          <a class="xref" href="C1.Win.InputPanel.InputTimePicker.OnPrepareTimeFormat.html#C1_Win_InputPanel_InputTimePicker_OnPrepareTimeFormat_C1_Win_InputPanel_PrepareDateTimeFormatEventArgs_">OnPrepareTimeFormat(PrepareDateTimeFormatEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="C1.Win.InputPanel.InputTimePicker.PrepareTimeFormat.html">PrepareTimeFormat</a> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_InputPanel_InputTimePicker_OnSpinButtonClick_C1_Win_InputPanel_SpinButtonClickEventArgs_" data-uid="C1.Win.InputPanel.InputTimePicker.OnSpinButtonClick(C1.Win.InputPanel.SpinButtonClickEventArgs)">
          <a class="xref" href="C1.Win.InputPanel.InputTimePicker.OnSpinButtonClick.html#C1_Win_InputPanel_InputTimePicker_OnSpinButtonClick_C1_Win_InputPanel_SpinButtonClickEventArgs_">OnSpinButtonClick(SpinButtonClickEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="C1.Win.InputPanel.InputTimePicker.SpinButtonClick.html">SpinButtonClick</a> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_InputPanel_InputTimePicker_OnValueChanged_System_EventArgs_" data-uid="C1.Win.InputPanel.InputTimePicker.OnValueChanged(System.EventArgs)">
          <a class="xref" href="C1.Win.InputPanel.InputTimePicker.OnValueChanged.html#C1_Win_InputPanel_InputTimePicker_OnValueChanged_System_EventArgs_">OnValueChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="C1.Win.InputPanel.InputTimePicker.ValueChanged.html">ValueChanged</a> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_InputPanel_InputTimePicker_ResetValue" data-uid="C1.Win.InputPanel.InputTimePicker.ResetValue">
          <a class="xref" href="C1.Win.InputPanel.InputTimePicker.ResetValue.html#C1_Win_InputPanel_InputTimePicker_ResetValue">ResetValue()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_InputPanel_InputTimePicker_ShouldSerializeStandardFormat" data-uid="C1.Win.InputPanel.InputTimePicker.ShouldSerializeStandardFormat">
          <a class="xref" href="C1.Win.InputPanel.InputTimePicker.ShouldSerializeStandardFormat.html#C1_Win_InputPanel_InputTimePicker_ShouldSerializeStandardFormat">ShouldSerializeStandardFormat()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_InputPanel_InputTimePicker_ShouldSerializeValue" data-uid="C1.Win.InputPanel.InputTimePicker.ShouldSerializeValue">
          <a class="xref" href="C1.Win.InputPanel.InputTimePicker.ShouldSerializeValue.html#C1_Win_InputPanel_InputTimePicker_ShouldSerializeValue">ShouldSerializeValue()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_InputPanel_InputTimePicker_UpButton" data-uid="C1.Win.InputPanel.InputTimePicker.UpButton">
          <a class="xref" href="C1.Win.InputPanel.InputTimePicker.UpButton.html#C1_Win_InputPanel_InputTimePicker_UpButton">UpButton()</a>
        </td>
        <td class="markdown level1 summary"><p>Simulates a click of the up button.</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="C1_Win_InputPanel_InputTimePicker_FormatChanged" data-uid="C1.Win.InputPanel.InputTimePicker.FormatChanged">
          <a class="xref" href="C1.Win.InputPanel.InputTimePicker.FormatChanged.html">FormatChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Fires when the <a class="xref" href="C1.Win.InputPanel.InputTimePicker.Format.html#C1_Win_InputPanel_InputTimePicker_Format">Format</a> property changes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_InputPanel_InputTimePicker_PrepareTimeFormat" data-uid="C1.Win.InputPanel.InputTimePicker.PrepareTimeFormat">
          <a class="xref" href="C1.Win.InputPanel.InputTimePicker.PrepareTimeFormat.html">PrepareTimeFormat</a>
        </td>
        <td class="markdown level1 summary"><p>Fires when the <a class="xref" href="C1.Win.InputPanel.InputTimePicker.TimeFormat.html#C1_Win_InputPanel_InputTimePicker_TimeFormat">TimeFormat</a> property is recreated.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_InputPanel_InputTimePicker_SpinButtonClick" data-uid="C1.Win.InputPanel.InputTimePicker.SpinButtonClick">
          <a class="xref" href="C1.Win.InputPanel.InputTimePicker.SpinButtonClick.html">SpinButtonClick</a>
        </td>
        <td class="markdown level1 summary"><p>Fires when the up/down buttons are clicked, before their built-in processing.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_InputPanel_InputTimePicker_ValueChanged" data-uid="C1.Win.InputPanel.InputTimePicker.ValueChanged">
          <a class="xref" href="C1.Win.InputPanel.InputTimePicker.ValueChanged.html">ValueChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Fires when the <a class="xref" href="C1.Win.InputPanel.InputTimePicker.Value.html#C1_Win_InputPanel_InputTimePicker_Value">Value</a> property changes.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
