# C1.WPF.Schedule.C1Scheduler.VisualStartTime

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_Schedule_C1Scheduler_VisualStartTime_" data-uid="C1.WPF.Schedule.C1Scheduler.VisualStartTime*">VisualStartTime Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_Schedule_C1Scheduler_VisualStartTime_" data-uid="C1.WPF.Schedule.C1Scheduler.VisualStartTime*"></a>
<h4 id="C1_WPF_Schedule_C1Scheduler_VisualStartTime" data-uid="C1.WPF.Schedule.C1Scheduler.VisualStartTime">VisualStartTime</h4>
<div class="markdown level1 summary"><p>Gets or sets a start of a period of time that is currently represented in
the control UI. This is a dependency property.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public DateTime VisualStartTime { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property VisualStartTime As Date</code></pre>
</div>
<h5 id="C1_WPF_Schedule_C1Scheduler_VisualStartTime_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Usually this property value should not be set directly; it gets its value  automatically
based on the <a class="xref" href="C1.WPF.Schedule.C1Scheduler.VisualTimeSpan.html#C1_WPF_Schedule_C1Scheduler_VisualTimeSpan">VisualTimeSpan</a> and <a class="xref" href="C1.WPF.Schedule.C1Scheduler.SelectedDateTime.html#C1_WPF_Schedule_C1Scheduler_SelectedDateTime">SelectedDateTime</a> properties
(the latter one has DateTime.Today as default) so as to be aligned at the beginning of a current
week or current month's first week. Setting it to a value that is not correctly aligned
relative to the current control UI (for example, if it is not set to the first day of the week
for the Month view) can cause an inadequate UI look.</p>
<p>
To change a current period of time safely you can use 
the <a class="xref" href="C1.WPF.Schedule.C1Scheduler.SelectedDateTime.html#C1_WPF_Schedule_C1Scheduler_SelectedDateTime">SelectedDateTime</a> property or the 
<a class="xref" href="C1.WPF.Schedule.C1Scheduler.SetRelativeStartTime.html#C1_WPF_Schedule_C1Scheduler_SetRelativeStartTime_System_Double_">SetRelativeStartTime(double)</a> method or the
<a class="xref" href="C1.WPF.Schedule.C1Scheduler.SetRelativeStartTimeCommand.html">SetRelativeStartTimeCommand</a> command.
</p>
</div>
</div>
