# C1.WPF.Calendar.CalendarHelper

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Calendar_CalendarHelper" data-uid="C1.WPF.Calendar.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"><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><span class="xref">IWeakEventListener</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Calendar.html">C1.WPF.Calendar</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Calendar.dll</h6>
  <h5 id="C1_WPF_Calendar_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_Calendar_CalendarHelper__ctor" data-uid="C1.WPF.Calendar.CalendarHelper.#ctor">
          <a class="xref" href="C1.WPF.Calendar.CalendarHelper.-ctor.html#C1_WPF_Calendar_CalendarHelper__ctor">CalendarHelper()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.Calendar.CalendarHelper.html">CalendarHelper</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Calendar_CalendarHelper__ctor_C1_Schedule_CalendarInfo_" data-uid="C1.WPF.Calendar.CalendarHelper.#ctor(C1.Schedule.CalendarInfo)">
          <a class="xref" href="C1.WPF.Calendar.CalendarHelper.-ctor.html#C1_WPF_Calendar_CalendarHelper__ctor_C1_Schedule_CalendarInfo_">CalendarHelper(CalendarInfo)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.Calendar.CalendarHelper.html">CalendarHelper</a> class.</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_Calendar_CalendarHelper__info" data-uid="C1.WPF.Calendar.CalendarHelper._info">
          <a class="xref" href="C1.WPF.Calendar.CalendarHelper._info.html">_info</a>
        </td>
        <td class="markdown level1 summary"></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_Calendar_CalendarHelper_Culture" data-uid="C1.WPF.Calendar.CalendarHelper.Culture">
          <a class="xref" href="C1.WPF.Calendar.CalendarHelper.Culture.html#C1_WPF_Calendar_CalendarHelper_Culture">Culture</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.globalization.cultureinfo">CultureInfo</a> object which holds culture-specific information.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Calendar_CalendarHelper_DateTimeKind" data-uid="C1.WPF.Calendar.CalendarHelper.DateTimeKind">
          <a class="xref" href="C1.WPF.Calendar.CalendarHelper.DateTimeKind.html#C1_WPF_Calendar_CalendarHelper_DateTimeKind">DateTimeKind</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a <a class="xref" href="C1.WPF.Calendar.CalendarHelper.DateTimeKind.html#C1_WPF_Calendar_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_Calendar_CalendarHelper_EndDayTime" data-uid="C1.WPF.Calendar.CalendarHelper.EndDayTime">
          <a class="xref" href="C1.WPF.Calendar.CalendarHelper.EndDayTime.html#C1_WPF_Calendar_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_Calendar_CalendarHelper_FirstDate" data-uid="C1.WPF.Calendar.CalendarHelper.FirstDate">
          <a class="xref" href="C1.WPF.Calendar.CalendarHelper.FirstDate.html#C1_WPF_Calendar_CalendarHelper_FirstDate">FirstDate</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a> value specifying minimum date allowed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Calendar_CalendarHelper_FullDayNames" data-uid="C1.WPF.Calendar.CalendarHelper.FullDayNames">
          <a class="xref" href="C1.WPF.Calendar.CalendarHelper.FullDayNames.html#C1_WPF_Calendar_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_Calendar_CalendarHelper_FullMonthNames" data-uid="C1.WPF.Calendar.CalendarHelper.FullMonthNames">
          <a class="xref" href="C1.WPF.Calendar.CalendarHelper.FullMonthNames.html#C1_WPF_Calendar_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_Calendar_CalendarHelper_Holidays" data-uid="C1.WPF.Calendar.CalendarHelper.Holidays">
          <a class="xref" href="C1.WPF.Calendar.CalendarHelper.Holidays.html#C1_WPF_Calendar_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_Calendar_CalendarHelper_Info" data-uid="C1.WPF.Calendar.CalendarHelper.Info">
          <a class="xref" href="C1.WPF.Calendar.CalendarHelper.Info.html#C1_WPF_Calendar_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_Calendar_CalendarHelper_LastDate" data-uid="C1.WPF.Calendar.CalendarHelper.LastDate">
          <a class="xref" href="C1.WPF.Calendar.CalendarHelper.LastDate.html#C1_WPF_Calendar_CalendarHelper_LastDate">LastDate</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a> value specifying maximum date allowed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Calendar_CalendarHelper_StartDayTime" data-uid="C1.WPF.Calendar.CalendarHelper.StartDayTime">
          <a class="xref" href="C1.WPF.Calendar.CalendarHelper.StartDayTime.html#C1_WPF_Calendar_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_Calendar_CalendarHelper_WeekStart" data-uid="C1.WPF.Calendar.CalendarHelper.WeekStart">
          <a class="xref" href="C1.WPF.Calendar.CalendarHelper.WeekStart.html#C1_WPF_Calendar_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_Calendar_CalendarHelper_WeekendExceptions" data-uid="C1.WPF.Calendar.CalendarHelper.WeekendExceptions">
          <a class="xref" href="C1.WPF.Calendar.CalendarHelper.WeekendExceptions.html#C1_WPF_Calendar_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>
    </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_Calendar_CalendarHelper_Deactivate" data-uid="C1.WPF.Calendar.CalendarHelper.Deactivate">
          <a class="xref" href="C1.WPF.Calendar.CalendarHelper.Deactivate.html#C1_WPF_Calendar_CalendarHelper_Deactivate">Deactivate()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Calendar_CalendarHelper_InvalidateCulture_System_Windows_FrameworkElement_" data-uid="C1.WPF.Calendar.CalendarHelper.InvalidateCulture(System.Windows.FrameworkElement)">
          <a class="xref" href="C1.WPF.Calendar.CalendarHelper.InvalidateCulture.html#C1_WPF_Calendar_CalendarHelper_InvalidateCulture_System_Windows_FrameworkElement_">InvalidateCulture(FrameworkElement)</a>
        </td>
        <td class="markdown level1 summary"><p>InvalidateCulture</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Calendar_CalendarHelper_NewHolidays" data-uid="C1.WPF.Calendar.CalendarHelper.NewHolidays">
          <a class="xref" href="C1.WPF.Calendar.CalendarHelper.NewHolidays.html#C1_WPF_Calendar_CalendarHelper_NewHolidays">NewHolidays()</a>
        </td>
        <td class="markdown level1 summary"><p>NewHolidays</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Calendar_CalendarHelper_NewWeekendExceptions" data-uid="C1.WPF.Calendar.CalendarHelper.NewWeekendExceptions">
          <a class="xref" href="C1.WPF.Calendar.CalendarHelper.NewWeekendExceptions.html#C1_WPF_Calendar_CalendarHelper_NewWeekendExceptions">NewWeekendExceptions()</a>
        </td>
        <td class="markdown level1 summary"><p>NewWeekendExceptions</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Calendar_CalendarHelper_OnPropertyChanged_System_String_" data-uid="C1.WPF.Calendar.CalendarHelper.OnPropertyChanged(System.String)">
          <a class="xref" href="C1.WPF.Calendar.CalendarHelper.OnPropertyChanged.html#C1_WPF_Calendar_CalendarHelper_OnPropertyChanged_System_String_">OnPropertyChanged(string)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Calendar_CalendarHelper_ReceiveWeakEvent_System_Type_System_Object_System_EventArgs_" data-uid="C1.WPF.Calendar.CalendarHelper.ReceiveWeakEvent(System.Type,System.Object,System.EventArgs)">
          <a class="xref" href="C1.WPF.Calendar.CalendarHelper.ReceiveWeakEvent.html#C1_WPF_Calendar_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_Calendar_CalendarHelper_PropertyChanged" data-uid="C1.WPF.Calendar.CalendarHelper.PropertyChanged">
          <a class="xref" href="C1.WPF.Calendar.CalendarHelper.PropertyChanged.html">PropertyChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the property of <a class="xref" href="C1.WPF.Calendar.CalendarHelper.html">CalendarHelper</a> object is changed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
