# C1.WPF.Schedule.C1Scheduler.TimeFormat

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_Schedule_C1Scheduler_TimeFormat_" data-uid="C1.WPF.Schedule.C1Scheduler.TimeFormat*">TimeFormat Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_Schedule_C1Scheduler_TimeFormat_" data-uid="C1.WPF.Schedule.C1Scheduler.TimeFormat*"></a>
<h4 id="C1_WPF_Schedule_C1Scheduler_TimeFormat" data-uid="C1.WPF.Schedule.C1Scheduler.TimeFormat">TimeFormat</h4>
<div class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> value determining time format
used to display time ruler in a Day, Week and Work Week views.
The default value is an empty string. In such case C1Scheduler takes default time format from the current culture.
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 string TimeFormat { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property TimeFormat As String</code></pre>
</div>
<h5 id="C1_WPF_Schedule_C1Scheduler_TimeFormat_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Don't use general formats as &quot;T&quot; for this property. Use detailed format string such as &quot;h:mm tt&quot; or &quot;HH:mm&quot;.</p>
</div>
</div>
