# C1.Win.C1Input.C1DateEdit

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_C1Input_C1DateEdit" data-uid="C1.Win.C1Input.C1DateEdit" class="text-break">C1DateEdit Class
</h1>
  <div class="markdown level0 summary"><p>This is a legacy control; use C1.Win.Calendar.C1DateEdit instead.</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="https://learn.microsoft.com/dotnet/api/system.windows.forms.control">Control</a></div>
    <div class="level4"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.textboxbase">TextBoxBase</a></div>
    <div class="level5"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.textbox">TextBox</a></div>
    <div class="level6"><a class="xref" href="C1.Win.C1Input.C1TextBox.html">C1TextBox</a></div>
    <div class="level7"><a class="xref" href="C1.Win.C1Input.C1DropDownControl.html">C1DropDownControl</a></div>
    <div class="level8"><span class="xref">C1DateEdit</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.idroptarget">IDropTarget</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isynchronizeinvoke">ISynchronizeInvoke</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.iwin32window">IWin32Window</a></div>
    <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="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitialize">ISupportInitialize</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icustomtypedescriptor">ICustomTypeDescriptor</a></div>
    <div><span class="xref">IEmbeddedEditor</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.C1Input.html">C1.Win.C1Input</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.C1Input.4.8.dll</h6>
  <h5 id="C1_Win_C1Input_C1DateEdit_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[ToolboxBitmap(typeof(C1DateEdit), &quot;C1DateEdit.png&quot;)]
public class C1DateEdit : C1DropDownControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, ISupportInitialize, ICustomTypeDescriptor, IEmbeddedEditor</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;ToolboxBitmap(GetType(C1DateEdit), &quot;C1DateEdit.png&quot;)&gt;
Public Class C1DateEdit
    Inherits C1DropDownControl
    Implements IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, ISupportInitialize, ICustomTypeDescriptor, IEmbeddedEditor</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_C1Input_C1DateEdit__ctor" data-uid="C1.Win.C1Input.C1DateEdit.#ctor">
          <a class="xref" href="C1.Win.C1Input.C1DateEdit.-ctor.html#C1_Win_C1Input_C1DateEdit__ctor">C1DateEdit()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.C1Input.C1DateEdit.html">C1DateEdit</a> class.</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_C1Input_C1DateEdit_AllowSpinLoop" data-uid="C1.Win.C1Input.C1DateEdit.AllowSpinLoop">
          <a class="xref" href="C1.Win.C1Input.C1DateEdit.AllowSpinLoop.html#C1_Win_C1Input_C1DateEdit_AllowSpinLoop">AllowSpinLoop</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the spinner moves to the <a class="xref" href="C1.Win.C1Input.DateEditMonthCalendar.MinDate.html#C1_Win_C1Input_DateEditMonthCalendar_MinDate">MinDate</a> when it reaches the <a class="xref" href="C1.Win.C1Input.DateEditMonthCalendar.MaxDate.html#C1_Win_C1Input_DateEditMonthCalendar_MaxDate">MaxDate</a>, or to the <a class="xref" href="C1.Win.C1Input.DateEditMonthCalendar.MaxDate.html#C1_Win_C1Input_DateEditMonthCalendar_MaxDate">MaxDate</a> when it reaches the <a class="xref" href="C1.Win.C1Input.DateEditMonthCalendar.MinDate.html#C1_Win_C1Input_DateEditMonthCalendar_MinDate">MinDate</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1DateEdit_Calendar" data-uid="C1.Win.C1Input.C1DateEdit.Calendar">
          <a class="xref" href="C1.Win.C1Input.C1DateEdit.Calendar.html#C1_Win_C1Input_C1DateEdit_Calendar">Calendar</a>
        </td>
        <td class="markdown level1 summary"><p>The dropdown calendar object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1DateEdit_DefaultDropDownFormClassName" data-uid="C1.Win.C1Input.C1DateEdit.DefaultDropDownFormClassName">
          <a class="xref" href="C1.Win.C1Input.C1DateEdit.DefaultDropDownFormClassName.html#C1_Win_C1Input_C1DateEdit_DefaultDropDownFormClassName">DefaultDropDownFormClassName</a>
        </td>
        <td class="markdown level1 summary"><p>This property is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1DateEdit_DefaultThemeRootPath" data-uid="C1.Win.C1Input.C1DateEdit.DefaultThemeRootPath">
          <a class="xref" href="C1.Win.C1Input.C1DateEdit.DefaultThemeRootPath.html#C1_Win_C1Input_C1DateEdit_DefaultThemeRootPath">DefaultThemeRootPath</a>
        </td>
        <td class="markdown level1 summary"><p>Default path</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1DateEdit_FormatType" data-uid="C1.Win.C1Input.C1DateEdit.FormatType">
          <a class="xref" href="C1.Win.C1Input.C1DateEdit.FormatType.html#C1_Win_C1Input_C1DateEdit_FormatType">FormatType</a>
        </td>
        <td class="markdown level1 summary"><p>Enumeration value determining the formatting metod, including standard .NET format specifiers, custom and programmatic formatting.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1DateEdit_InitialField" data-uid="C1.Win.C1Input.C1DateEdit.InitialField">
          <a class="xref" href="C1.Win.C1Input.C1DateEdit.InitialField.html#C1_Win_C1Input_C1DateEdit_InitialField">InitialField</a>
        </td>
        <td class="markdown level1 summary"><p>Determines the date-time field position when a control receives input focus. Default: <a class="xref" href="C1.Win.C1Input.DateTimeField.html#C1_Win_C1Input_DateTimeField_Manual">Manual</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1DateEdit_RetainTimeOnDateChange" data-uid="C1.Win.C1Input.C1DateEdit.RetainTimeOnDateChange">
          <a class="xref" href="C1.Win.C1Input.C1DateEdit.RetainTimeOnDateChange.html#C1_Win_C1Input_C1DateEdit_RetainTimeOnDateChange">RetainTimeOnDateChange</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether to retain the current time value when the date is changed via the drop down calendar.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1DateEdit_Text" data-uid="C1.Win.C1Input.C1DateEdit.Text">
          <a class="xref" href="C1.Win.C1Input.C1DateEdit.Text.html#C1_Win_C1Input_C1DateEdit_Text">Text</a>
        </td>
        <td class="markdown level1 summary"><p>This property is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1DateEdit_TypeRestriction" data-uid="C1.Win.C1Input.C1DateEdit.TypeRestriction">
          <a class="xref" href="C1.Win.C1Input.C1DateEdit.TypeRestriction.html#C1_Win_C1Input_C1DateEdit_TypeRestriction">TypeRestriction</a>
        </td>
        <td class="markdown level1 summary"><p>This property is for internal use only.</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_C1Input_C1DateEdit_Dispose_System_Boolean_" data-uid="C1.Win.C1Input.C1DateEdit.Dispose(System.Boolean)">
          <a class="xref" href="C1.Win.C1Input.C1DateEdit.Dispose.html#C1_Win_C1Input_C1DateEdit_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Releases the resources used by the <a class="xref" href="C1.Win.C1Input.C1DateEdit.html">C1DateEdit</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1DateEdit_OnCultureInfoSetup_C1_Win_C1Input_CultureInfoSetupEventArgs_" data-uid="C1.Win.C1Input.C1DateEdit.OnCultureInfoSetup(C1.Win.C1Input.CultureInfoSetupEventArgs)">
          <a class="xref" href="C1.Win.C1Input.C1DateEdit.OnCultureInfoSetup.html#C1_Win_C1Input_C1DateEdit_OnCultureInfoSetup_C1_Win_C1Input_CultureInfoSetupEventArgs_">OnCultureInfoSetup(CultureInfoSetupEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>This method is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1DateEdit_OnUpDownButtonClick_C1_Win_C1Input_UpDownButtonClickEventArgs_" data-uid="C1.Win.C1Input.C1DateEdit.OnUpDownButtonClick(C1.Win.C1Input.UpDownButtonClickEventArgs)">
          <a class="xref" href="C1.Win.C1Input.C1DateEdit.OnUpDownButtonClick.html#C1_Win_C1Input_C1DateEdit_OnUpDownButtonClick_C1_Win_C1Input_UpDownButtonClickEventArgs_">OnUpDownButtonClick(UpDownButtonClickEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>This method is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1DateEdit_OnVisualStyleChanged_System_EventArgs_" data-uid="C1.Win.C1Input.C1DateEdit.OnVisualStyleChanged(System.EventArgs)">
          <a class="xref" href="C1.Win.C1Input.C1DateEdit.OnVisualStyleChanged.html#C1_Win_C1Input_C1DateEdit_OnVisualStyleChanged_System_EventArgs_">OnVisualStyleChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Invokes the VisualStyleChanged event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1DateEdit_ShouldSerializeCalendar" data-uid="C1.Win.C1Input.C1DateEdit.ShouldSerializeCalendar">
          <a class="xref" href="C1.Win.C1Input.C1DateEdit.ShouldSerializeCalendar.html#C1_Win_C1Input_C1DateEdit_ShouldSerializeCalendar">ShouldSerializeCalendar()</a>
        </td>
        <td class="markdown level1 summary"><p>This method is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1DateEdit_SpinDown" data-uid="C1.Win.C1Input.C1DateEdit.SpinDown">
          <a class="xref" href="C1.Win.C1Input.C1DateEdit.SpinDown.html#C1_Win_C1Input_C1DateEdit_SpinDown">SpinDown()</a>
        </td>
        <td class="markdown level1 summary"><p>Performs spin down.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1DateEdit_SpinDown_System_TimeSpan_" data-uid="C1.Win.C1Input.C1DateEdit.SpinDown(System.TimeSpan)">
          <a class="xref" href="C1.Win.C1Input.C1DateEdit.SpinDown.html#C1_Win_C1Input_C1DateEdit_SpinDown_System_TimeSpan_">SpinDown(TimeSpan)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs spin down.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1DateEdit_SpinUp" data-uid="C1.Win.C1Input.C1DateEdit.SpinUp">
          <a class="xref" href="C1.Win.C1Input.C1DateEdit.SpinUp.html#C1_Win_C1Input_C1DateEdit_SpinUp">SpinUp()</a>
        </td>
        <td class="markdown level1 summary"><p>Performs spin up.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1DateEdit_SpinUp_System_TimeSpan_" data-uid="C1.Win.C1Input.C1DateEdit.SpinUp(System.TimeSpan)">
          <a class="xref" href="C1.Win.C1Input.C1DateEdit.SpinUp.html#C1_Win_C1Input_C1DateEdit_SpinUp_System_TimeSpan_">SpinUp(TimeSpan)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs spin up.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1DateEdit_UpdateDataType_System_Type_" data-uid="C1.Win.C1Input.C1DateEdit.UpdateDataType(System.Type)">
          <a class="xref" href="C1.Win.C1Input.C1DateEdit.UpdateDataType.html#C1_Win_C1Input_C1DateEdit_UpdateDataType_System_Type_">UpdateDataType(Type)</a>
        </td>
        <td class="markdown level1 summary"><p>This method is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_C1DateEdit_UpdateSelection" data-uid="C1.Win.C1Input.C1DateEdit.UpdateSelection">
          <a class="xref" href="C1.Win.C1Input.C1DateEdit.UpdateSelection.html#C1_Win_C1Input_C1DateEdit_UpdateSelection">UpdateSelection()</a>
        </td>
        <td class="markdown level1 summary"><p>Updates selection of the text according to the <a class="xref" href="C1.Win.C1Input.C1TextBox.InitialSelection.html#C1_Win_C1Input_C1TextBox_InitialSelection">InitialSelection</a> property.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
