# C1.WPF.Schedule.DaySlot

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Schedule_DaySlot" data-uid="C1.WPF.Schedule.DaySlot" class="text-break">DaySlot Class
</h1>
  <div class="markdown level0 summary"><p>Represents a day slot in the <a class="xref" href="C1.WPF.Schedule.C1CalendarItem.html">C1CalendarItem</a> control.</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">DaySlot</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_DaySlot_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class DaySlot : DependencyObject</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class DaySlot
    Inherits DependencyObject</code></pre>
  </div>
  <h5 id="C1_WPF_Schedule_DaySlot_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>An instance of this class can represent a day of a month or an empty slot,
which is determined by the <a class="xref" href="C1.WPF.Schedule.DaySlot.Empty.html#C1_WPF_Schedule_DaySlot_Empty">Empty</a> property value. In the case
when <a class="xref" href="C1.WPF.Schedule.DaySlot.html">DaySlot</a> is empty, the <a class="xref" href="C1.WPF.Schedule.DaySlot.Date.html#C1_WPF_Schedule_DaySlot_Date">Date</a> property will have
a null value, but the other properties will still contain information that allows you
to determine the placement of the slot in the calendar.
For example the <a class="xref" href="C1.WPF.Schedule.DaySlot.DayOfWeek.html#C1_WPF_Schedule_DaySlot_DayOfWeek">DayOfWeek</a> property will determine a day of week
that the slot corresponds to.</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_DaySlot_IsBoldedProperty" data-uid="C1.WPF.Schedule.DaySlot.IsBoldedProperty">
          <a class="xref" href="C1.WPF.Schedule.DaySlot.IsBoldedProperty.html">IsBoldedProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Schedule.DaySlot.IsBolded.html#C1_WPF_Schedule_DaySlot_IsBolded">IsBolded</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_DaySlot_IsEnabledProperty" data-uid="C1.WPF.Schedule.DaySlot.IsEnabledProperty">
          <a class="xref" href="C1.WPF.Schedule.DaySlot.IsEnabledProperty.html">IsEnabledProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Schedule.DaySlot.IsEnabled.html#C1_WPF_Schedule_DaySlot_IsEnabled">IsEnabled</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_DaySlot_IsSelectedProperty" data-uid="C1.WPF.Schedule.DaySlot.IsSelectedProperty">
          <a class="xref" href="C1.WPF.Schedule.DaySlot.IsSelectedProperty.html">IsSelectedProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Schedule.DaySlot.IsSelected.html#C1_WPF_Schedule_DaySlot_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_DaySlot_Date" data-uid="C1.WPF.Schedule.DaySlot.Date">
          <a class="xref" href="C1.WPF.Schedule.DaySlot.Date.html#C1_WPF_Schedule_DaySlot_Date">Date</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a date represented by the <a class="xref" href="C1.WPF.Schedule.DaySlot.html">DaySlot</a> object or a null value
if the <a class="xref" href="C1.WPF.Schedule.DaySlot.html">DaySlot</a> is empty.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_DaySlot_DayOfWeek" data-uid="C1.WPF.Schedule.DaySlot.DayOfWeek">
          <a class="xref" href="C1.WPF.Schedule.DaySlot.DayOfWeek.html#C1_WPF_Schedule_DaySlot_DayOfWeek">DayOfWeek</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the day of the week that this slot corresponds to.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_DaySlot_Empty" data-uid="C1.WPF.Schedule.DaySlot.Empty">
          <a class="xref" href="C1.WPF.Schedule.DaySlot.Empty.html#C1_WPF_Schedule_DaySlot_Empty">Empty</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the <a class="xref" href="C1.WPF.Schedule.DaySlot.html">DaySlot</a> is empty, that is doesn't
represent a date.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_DaySlot_IsAdjacent" data-uid="C1.WPF.Schedule.DaySlot.IsAdjacent">
          <a class="xref" href="C1.WPF.Schedule.DaySlot.IsAdjacent.html#C1_WPF_Schedule_DaySlot_IsAdjacent">IsAdjacent</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the <a class="xref" href="C1.WPF.Schedule.DaySlot.html">DaySlot</a> represents a day from an adjacent
month, but not of the month currently represented by
<a class="xref" href="C1.WPF.Schedule.C1CalendarItem.html">C1CalendarItem</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_DaySlot_IsBolded" data-uid="C1.WPF.Schedule.DaySlot.IsBolded">
          <a class="xref" href="C1.WPF.Schedule.DaySlot.IsBolded.html#C1_WPF_Schedule_DaySlot_IsBolded">IsBolded</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether a day represented by the <a class="xref" href="C1.WPF.Schedule.DaySlot.html">DaySlot</a> is currently
bolded in <a class="xref" href="C1.WPF.Schedule.C1CalendarItem.html">C1CalendarItem</a> UI. This is a dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_DaySlot_IsEnabled" data-uid="C1.WPF.Schedule.DaySlot.IsEnabled">
          <a class="xref" href="C1.WPF.Schedule.DaySlot.IsEnabled.html#C1_WPF_Schedule_DaySlot_IsEnabled">IsEnabled</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether a day represented by the <a class="xref" href="C1.WPF.Schedule.DaySlot.html">DaySlot</a> is currently
enabled in <a class="xref" href="C1.WPF.Schedule.C1CalendarItem.html">C1CalendarItem</a> UI. This is a dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_DaySlot_IsSelected" data-uid="C1.WPF.Schedule.DaySlot.IsSelected">
          <a class="xref" href="C1.WPF.Schedule.DaySlot.IsSelected.html#C1_WPF_Schedule_DaySlot_IsSelected">IsSelected</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether a day represented by the <a class="xref" href="C1.WPF.Schedule.DaySlot.html">DaySlot</a> is currently
selected in <a class="xref" href="C1.WPF.Schedule.C1CalendarItem.html">C1CalendarItem</a> UI. This is a dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_DaySlot_IsToday" data-uid="C1.WPF.Schedule.DaySlot.IsToday">
          <a class="xref" href="C1.WPF.Schedule.DaySlot.IsToday.html#C1_WPF_Schedule_DaySlot_IsToday">IsToday</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the <a class="xref" href="C1.WPF.Schedule.DaySlot.html">DaySlot</a> represents the current day.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_DaySlot_IsWeekend" data-uid="C1.WPF.Schedule.DaySlot.IsWeekend">
          <a class="xref" href="C1.WPF.Schedule.DaySlot.IsWeekend.html#C1_WPF_Schedule_DaySlot_IsWeekend">IsWeekend</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the <a class="xref" href="C1.WPF.Schedule.DaySlot.html">DaySlot</a> represents a weekend day.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_DaySlot_Owner" data-uid="C1.WPF.Schedule.DaySlot.Owner">
          <a class="xref" href="C1.WPF.Schedule.DaySlot.Owner.html#C1_WPF_Schedule_DaySlot_Owner">Owner</a>
        </td>
        <td class="markdown level1 summary"><p>Returns reference to the owning <a class="xref" href="C1.WPF.Schedule.C1CalendarItem.html">C1CalendarItem</a> control.</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_DaySlot_ToString" data-uid="C1.WPF.Schedule.DaySlot.ToString">
          <a class="xref" href="C1.WPF.Schedule.DaySlot.ToString.html#C1_WPF_Schedule_DaySlot_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns string representation of the <a class="xref" href="C1.WPF.Schedule.DaySlot.Date.html#C1_WPF_Schedule_DaySlot_Date">Date</a> property value.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
