# C1.Win.C1Input.C1DateEdit.RetainTimeOnDateChange

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_C1Input_C1DateEdit_RetainTimeOnDateChange_" data-uid="C1.Win.C1Input.C1DateEdit.RetainTimeOnDateChange*">RetainTimeOnDateChange Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_C1Input_C1DateEdit_RetainTimeOnDateChange_" data-uid="C1.Win.C1Input.C1DateEdit.RetainTimeOnDateChange*"></a>
<h4 id="C1_Win_C1Input_C1DateEdit_RetainTimeOnDateChange" data-uid="C1.Win.C1Input.C1DateEdit.RetainTimeOnDateChange">RetainTimeOnDateChange</h4>
<div 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>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool RetainTimeOnDateChange { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property RetainTimeOnDateChange As Boolean</code></pre>
</div>
</div>
