# C1.WPF.Schedule.CalendarHelper

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Schedule_CalendarHelper" data-uid="C1.WPF.Schedule.CalendarHelper" class="text-break">CalendarHelper Class
</h1>
  <div class="markdown level0 summary"><p>Provides auxiliary properties providing calendar specific information.</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">CalendarHelper</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.inotifypropertychanged">INotifyPropertyChanged</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iweakeventlistener">IWeakEventListener</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_CalendarHelper_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class CalendarHelper : DependencyObject, INotifyPropertyChanged, IWeakEventListener</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class CalendarHelper
    Inherits DependencyObject
    Implements INotifyPropertyChanged, IWeakEventListener</code></pre>
  </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_CalendarHelper__ctor" data-uid="C1.WPF.Schedule.CalendarHelper.#ctor">
          <a class="xref" href="C1.WPF.Schedule.CalendarHelper.-ctor.html#C1_WPF_Schedule_CalendarHelper__ctor">CalendarHelper()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.Schedule.CalendarHelper.html">CalendarHelper</a> class.</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_CalendarHelper_DateTimeKind" data-uid="C1.WPF.Schedule.CalendarHelper.DateTimeKind">
          <a class="xref" href="C1.WPF.Schedule.CalendarHelper.DateTimeKind.html#C1_WPF_Schedule_CalendarHelper_DateTimeKind">DateTimeKind</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a <a class="xref" href="C1.WPF.Schedule.CalendarHelper.DateTimeKind.html#C1_WPF_Schedule_CalendarHelper_DateTimeKind">DateTimeKind</a> value specifying DateTime kind
used for saving <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a> values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_CalendarHelper_EndDayTime" data-uid="C1.WPF.Schedule.CalendarHelper.EndDayTime">
          <a class="xref" href="C1.WPF.Schedule.CalendarHelper.EndDayTime.html#C1_WPF_Schedule_CalendarHelper_EndDayTime">EndDayTime</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.timespan">TimeSpan</a> value specifying
the end of the working time.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_CalendarHelper_FullDayNames" data-uid="C1.WPF.Schedule.CalendarHelper.FullDayNames">
          <a class="xref" href="C1.WPF.Schedule.CalendarHelper.FullDayNames.html#C1_WPF_Schedule_CalendarHelper_FullDayNames">FullDayNames</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an array of culture specific full day names.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_CalendarHelper_FullMonthNames" data-uid="C1.WPF.Schedule.CalendarHelper.FullMonthNames">
          <a class="xref" href="C1.WPF.Schedule.CalendarHelper.FullMonthNames.html#C1_WPF_Schedule_CalendarHelper_FullMonthNames">FullMonthNames</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an array of culture specific full month names.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_CalendarHelper_Holidays" data-uid="C1.WPF.Schedule.CalendarHelper.Holidays">
          <a class="xref" href="C1.WPF.Schedule.CalendarHelper.Holidays.html#C1_WPF_Schedule_CalendarHelper_Holidays">Holidays</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.objectmodel.observablecollection-1">ObservableCollection&lt;T&gt;</a> object which holds
the list of holidays (non-working days in addition to weekends).
You cannot set this property in XAML.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_CalendarHelper_Info" data-uid="C1.WPF.Schedule.CalendarHelper.Info">
          <a class="xref" href="C1.WPF.Schedule.CalendarHelper.Info.html#C1_WPF_Schedule_CalendarHelper_Info">Info</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the underlying <span class="xref">C1.Schedule.CalendarInfo</span> object. For internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_CalendarHelper_StartDayTime" data-uid="C1.WPF.Schedule.CalendarHelper.StartDayTime">
          <a class="xref" href="C1.WPF.Schedule.CalendarHelper.StartDayTime.html#C1_WPF_Schedule_CalendarHelper_StartDayTime">StartDayTime</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.timespan">TimeSpan</a> value specifying the beginning
of the working time.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_CalendarHelper_WeekStart" data-uid="C1.WPF.Schedule.CalendarHelper.WeekStart">
          <a class="xref" href="C1.WPF.Schedule.CalendarHelper.WeekStart.html#C1_WPF_Schedule_CalendarHelper_WeekStart">WeekStart</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.dayofweek">DayOfWeek</a> value determining
the first day of the week. Default is system settings.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_CalendarHelper_WeekendExceptions" data-uid="C1.WPF.Schedule.CalendarHelper.WeekendExceptions">
          <a class="xref" href="C1.WPF.Schedule.CalendarHelper.WeekendExceptions.html#C1_WPF_Schedule_CalendarHelper_WeekendExceptions">WeekendExceptions</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.objectmodel.observablecollection-1">ObservableCollection&lt;T&gt;</a> object which holds
the list of weekend days which should be working.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Schedule_CalendarHelper_WorkDays" data-uid="C1.WPF.Schedule.CalendarHelper.WorkDays">
          <a class="xref" href="C1.WPF.Schedule.CalendarHelper.WorkDays.html#C1_WPF_Schedule_CalendarHelper_WorkDays">WorkDays</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="C1.WPF.Schedule.CalendarHelper.WorkDays.html#C1_WPF_Schedule_CalendarHelper_WorkDays">WorkDays</a> object containing the
set of working days in one week.</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_CalendarHelper_ReceiveWeakEvent_System_Type_System_Object_System_EventArgs_" data-uid="C1.WPF.Schedule.CalendarHelper.ReceiveWeakEvent(System.Type,System.Object,System.EventArgs)">
          <a class="xref" href="C1.WPF.Schedule.CalendarHelper.ReceiveWeakEvent.html#C1_WPF_Schedule_CalendarHelper_ReceiveWeakEvent_System_Type_System_Object_System_EventArgs_">ReceiveWeakEvent(Type, object, EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Receives events from the centralized event manager.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</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_CalendarHelper_PropertyChanged" data-uid="C1.WPF.Schedule.CalendarHelper.PropertyChanged">
          <a class="xref" href="C1.WPF.Schedule.CalendarHelper.PropertyChanged.html">PropertyChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the property of <a class="xref" href="C1.WPF.Schedule.CalendarHelper.html">CalendarHelper</a> object is changed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
