# C1.WPF.Schedule.DaySlotPresenter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Schedule_DaySlotPresenter" data-uid="C1.WPF.Schedule.DaySlotPresenter" class="text-break">DaySlotPresenter Class
</h1>
  <div class="markdown level0 summary"><p>Represents a root element of a visual tree generated for a day slot of the
<a class="xref" href="C1.WPF.Schedule.C1CalendarItem.html">C1CalendarItem</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"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.visual">Visual</a></div>
    <div class="level4"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.uielement">UIElement</a></div>
    <div class="level5"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement">FrameworkElement</a></div>
    <div class="level6"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.control">Control</a></div>
    <div class="level7"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.contentcontrol">ContentControl</a></div>
    <div class="level8"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.listboxitem">ListBoxItem</a></div>
    <div class="level9"><span class="xref">DaySlotPresenter</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.animation.ianimatable">IAnimatable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iframeworkinputelement">IFrameworkInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iinputelement">IInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitialize">ISupportInitialize</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.markup.iqueryambient">IQueryAmbient</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.markup.iaddchild">IAddChild</a></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_DaySlotPresenter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class DaySlotPresenter : ListBoxItem, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class DaySlotPresenter
    Inherits ListBoxItem
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild</code></pre>
  </div>
  <h5 id="C1_WPF_Schedule_DaySlotPresenter_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>A separate <a class="xref" href="C1.WPF.Schedule.DaySlotPresenter.html">DaySlotPresenter</a> element is generated for each
<a class="xref" href="C1.WPF.Schedule.DaySlotPresenter.DaySlot.html#C1_WPF_Schedule_DaySlotPresenter_DaySlot">DaySlot</a> from the <span class="xref">C1.WPF.Schedule.C1CalendarItem.DaySlots</span>
collection.</p>
</div>
  <h3 id="constructors">Constructors
</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_DaySlotPresenter__ctor" data-uid="C1.WPF.Schedule.DaySlotPresenter.#ctor">
          <a class="xref" href="C1.WPF.Schedule.DaySlotPresenter.-ctor.html#C1_WPF_Schedule_DaySlotPresenter__ctor">DaySlotPresenter()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new instance of <a class="xref" href="C1.WPF.Schedule.DaySlotPresenter.html">DaySlotPresenter</a>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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_DaySlotPresenter_DateProperty" data-uid="C1.WPF.Schedule.DaySlotPresenter.DateProperty">
          <a class="xref" href="C1.WPF.Schedule.DaySlotPresenter.DateProperty.html">DateProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Schedule.DaySlotPresenter.Date.html#C1_WPF_Schedule_DaySlotPresenter_Date">Date</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_DaySlotPresenter_EmptyProperty" data-uid="C1.WPF.Schedule.DaySlotPresenter.EmptyProperty">
          <a class="xref" href="C1.WPF.Schedule.DaySlotPresenter.EmptyProperty.html">EmptyProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Schedule.DaySlotPresenter.Empty.html#C1_WPF_Schedule_DaySlotPresenter_Empty">Empty</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_DaySlotPresenter_Date" data-uid="C1.WPF.Schedule.DaySlotPresenter.Date">
          <a class="xref" href="C1.WPF.Schedule.DaySlotPresenter.Date.html#C1_WPF_Schedule_DaySlotPresenter_Date">Date</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a date representing by the <a class="xref" href="C1.WPF.Schedule.DaySlotPresenter.html">DaySlotPresenter</a> or a null value
if the element represents an empty <a class="xref" href="C1.WPF.Schedule.DaySlotPresenter.DaySlot.html#C1_WPF_Schedule_DaySlotPresenter_DaySlot">DaySlot</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_DaySlotPresenter_DaySlot" data-uid="C1.WPF.Schedule.DaySlotPresenter.DaySlot">
          <a class="xref" href="C1.WPF.Schedule.DaySlotPresenter.DaySlot.html#C1_WPF_Schedule_DaySlotPresenter_DaySlot">DaySlot</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a <a class="xref" href="C1.WPF.Schedule.DaySlotPresenter.DaySlot.html#C1_WPF_Schedule_DaySlotPresenter_DaySlot">DaySlot</a> represented by the <a class="xref" href="C1.WPF.Schedule.DaySlotPresenter.html">DaySlotPresenter</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_DaySlotPresenter_Empty" data-uid="C1.WPF.Schedule.DaySlotPresenter.Empty">
          <a class="xref" href="C1.WPF.Schedule.DaySlotPresenter.Empty.html#C1_WPF_Schedule_DaySlotPresenter_Empty">Empty</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the <a class="xref" href="C1.WPF.Schedule.DaySlotPresenter.html">DaySlotPresenter</a> represents an empty
<a class="xref" href="C1.WPF.Schedule.DaySlotPresenter.DaySlot.html#C1_WPF_Schedule_DaySlotPresenter_DaySlot">DaySlot</a>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</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_DaySlotPresenter_OnContentChanged_System_Object_System_Object_" data-uid="C1.WPF.Schedule.DaySlotPresenter.OnContentChanged(System.Object,System.Object)">
          <a class="xref" href="C1.WPF.Schedule.DaySlotPresenter.OnContentChanged.html#C1_WPF_Schedule_DaySlotPresenter_OnContentChanged_System_Object_System_Object_">OnContentChanged(object, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Overrides the default behavior.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_DaySlotPresenter_OnCreateAutomationPeer" data-uid="C1.WPF.Schedule.DaySlotPresenter.OnCreateAutomationPeer">
          <a class="xref" href="C1.WPF.Schedule.DaySlotPresenter.OnCreateAutomationPeer.html#C1_WPF_Schedule_DaySlotPresenter_OnCreateAutomationPeer">OnCreateAutomationPeer()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an AutomationPeer object used for testing the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_DaySlotPresenter_OnMouseLeftButtonDown_System_Windows_Input_MouseButtonEventArgs_" data-uid="C1.WPF.Schedule.DaySlotPresenter.OnMouseLeftButtonDown(System.Windows.Input.MouseButtonEventArgs)">
          <a class="xref" href="C1.WPF.Schedule.DaySlotPresenter.OnMouseLeftButtonDown.html#C1_WPF_Schedule_DaySlotPresenter_OnMouseLeftButtonDown_System_Windows_Input_MouseButtonEventArgs_">OnMouseLeftButtonDown(MouseButtonEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Overrides the default behavior.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
