# C1.WPF.Schedule.IntervalAppointment

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Schedule_IntervalAppointment" data-uid="C1.WPF.Schedule.IntervalAppointment" class="text-break">IntervalAppointment Class
</h1>
  <div class="markdown level0 summary"><p>Represents an <a class="xref" href="C1.WPF.Schedule.IntervalAppointment.Appointment.html#C1_WPF_Schedule_IntervalAppointment_Appointment">Appointment</a> in a <a class="xref" href="C1.WPF.Schedule.VisualInterval.html">VisualInterval</a>.</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.windows.threading.dispatcherobject">DispatcherObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.dependencyobject">DependencyObject</a></div>
    <div class="level3"><span class="xref">IntervalAppointment</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Schedule.html">C1.WPF.Schedule</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Schedule.4.6.2.dll</h6>
  <h5 id="C1_WPF_Schedule_IntervalAppointment_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class IntervalAppointment : DependencyObject</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class IntervalAppointment
    Inherits DependencyObject</code></pre>
  </div>
  <h5 id="C1_WPF_Schedule_IntervalAppointment_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>A single <a class="xref" href="C1.WPF.Schedule.IntervalAppointment.Appointment.html#C1_WPF_Schedule_IntervalAppointment_Appointment">Appointment</a> may cover multiple time intervals represented by
<a class="xref" href="C1.WPF.Schedule.VisualInterval.html">VisualInterval</a> objects from the <a class="xref" href="C1.WPF.Schedule.SchedulerGroupItem.VisualIntervals.html#C1_WPF_Schedule_SchedulerGroupItem_VisualIntervals">VisualIntervals</a> collection.
The <a class="xref" href="C1.WPF.Schedule.IntervalAppointment.html">IntervalAppointment</a> object represents an <a class="xref" href="C1.WPF.Schedule.IntervalAppointment.Appointment.html#C1_WPF_Schedule_IntervalAppointment_Appointment">Appointment</a>
belonging to a certain <a class="xref" href="C1.WPF.Schedule.IntervalAppointment.Interval.html#C1_WPF_Schedule_IntervalAppointment_Interval">Interval</a>.</p>
<p>
The <a class="xref" href="C1.WPF.Schedule.IntervalAppointment.html">IntervalAppointment</a> objects are used as DataContext for
the <a class="xref" href="C1.WPF.Schedule.C1Scheduler.IntervalAppointmentTemplate.html#C1_WPF_Schedule_C1Scheduler_IntervalAppointmentTemplate">IntervalAppointmentTemplate</a> DataTemplate.
</p>
</div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_Schedule_IntervalAppointment_IsSelectedAppointmentProperty" data-uid="C1.WPF.Schedule.IntervalAppointment.IsSelectedAppointmentProperty">
          <a class="xref" href="C1.WPF.Schedule.IntervalAppointment.IsSelectedAppointmentProperty.html">IsSelectedAppointmentProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Schedule.IntervalAppointment.IsSelectedAppointment.html#C1_WPF_Schedule_IntervalAppointment_IsSelectedAppointment">IsSelectedAppointment</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_IntervalAppointment_IsSelectedProperty" data-uid="C1.WPF.Schedule.IntervalAppointment.IsSelectedProperty">
          <a class="xref" href="C1.WPF.Schedule.IntervalAppointment.IsSelectedProperty.html">IsSelectedProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Schedule.IntervalAppointment.IsSelected.html#C1_WPF_Schedule_IntervalAppointment_IsSelected">IsSelected</a> dependency property.</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_WPF_Schedule_IntervalAppointment_Appointment" data-uid="C1.WPF.Schedule.IntervalAppointment.Appointment">
          <a class="xref" href="C1.WPF.Schedule.IntervalAppointment.Appointment.html#C1_WPF_Schedule_IntervalAppointment_Appointment">Appointment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an <a class="xref" href="C1.WPF.Schedule.IntervalAppointment.Appointment.html#C1_WPF_Schedule_IntervalAppointment_Appointment">Appointment</a> that is intersected with a <a class="xref" href="C1.WPF.Schedule.VisualInterval.html">VisualInterval</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_IntervalAppointment_Interval" data-uid="C1.WPF.Schedule.IntervalAppointment.Interval">
          <a class="xref" href="C1.WPF.Schedule.IntervalAppointment.Interval.html#C1_WPF_Schedule_IntervalAppointment_Interval">Interval</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a <a class="xref" href="C1.WPF.Schedule.VisualInterval.html">VisualInterval</a> that intersects with an <a class="xref" href="C1.WPF.Schedule.IntervalAppointment.Appointment.html#C1_WPF_Schedule_IntervalAppointment_Appointment">Appointment</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_IntervalAppointment_IsSelected" data-uid="C1.WPF.Schedule.IntervalAppointment.IsSelected">
          <a class="xref" href="C1.WPF.Schedule.IntervalAppointment.IsSelected.html#C1_WPF_Schedule_IntervalAppointment_IsSelected">IsSelected</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines whether the UI element that has this
<a class="xref" href="C1.WPF.Schedule.IntervalAppointment.html">IntervalAppointment</a> as a DataContext is selected.
This is a dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_IntervalAppointment_IsSelectedAppointment" data-uid="C1.WPF.Schedule.IntervalAppointment.IsSelectedAppointment">
          <a class="xref" href="C1.WPF.Schedule.IntervalAppointment.IsSelectedAppointment.html#C1_WPF_Schedule_IntervalAppointment_IsSelectedAppointment">IsSelectedAppointment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines whether the <a class="xref" href="C1.WPF.Schedule.IntervalAppointment.Appointment.html#C1_WPF_Schedule_IntervalAppointment_Appointment">Appointment</a>
is selected in <a class="xref" href="C1.WPF.Schedule.C1Scheduler.html">C1Scheduler</a> UI.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
