# C1.WPF.Schedule.C1Scheduler.IntervalAppointmentTemplate

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_Schedule_C1Scheduler_IntervalAppointmentTemplate_" data-uid="C1.WPF.Schedule.C1Scheduler.IntervalAppointmentTemplate*">IntervalAppointmentTemplate Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_Schedule_C1Scheduler_IntervalAppointmentTemplate_" data-uid="C1.WPF.Schedule.C1Scheduler.IntervalAppointmentTemplate*"></a>
<h4 id="C1_WPF_Schedule_C1Scheduler_IntervalAppointmentTemplate" data-uid="C1.WPF.Schedule.C1Scheduler.IntervalAppointmentTemplate">IntervalAppointmentTemplate</h4>
<div class="markdown level1 summary"><p>Gets or sets a DataTemplate that defines a UI representation of
an <a class="xref" href="C1.WPF.Schedule.IntervalAppointment.html">IntervalAppointment</a> object. 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 DataTemplate IntervalAppointmentTemplate { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property IntervalAppointmentTemplate As DataTemplate</code></pre>
</div>
<h5 id="C1_WPF_Schedule_C1Scheduler_IntervalAppointmentTemplate_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>A single appointment can be represented by multiple elements in control's view.
For example, in the Months view the appointment that hit two weeks will be
represented by two separate elements, a different element for each week.
Because of this, a DataContext for the appointment template is a
<a class="xref" href="C1.WPF.Schedule.IntervalAppointment.html">IntervalAppointment</a> object (but not an <span class="xref">C1.Schedule.Appointment</span> object),
which represents the chunk of
appointment covering a specific period of time that can be shown by a
single UI element.</p>
</div>
</div>
