# GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayOfWeekHoliday

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_DayOfWeekHoliday" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayOfWeekHoliday" class="text-break">DayOfWeekHoliday Class
</h1>
  <div class="markdown level0 summary"><p>Represents the yearly holidays set by the day of the week rules.</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="GrapeCity.Wpf.SpreadSheet.CellType.Editors.HolidayBase.html">HolidayBase</a></div>
    <div class="level2"><span class="xref">DayOfWeekHoliday</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="GrapeCity.Wpf.SpreadSheet.CellType.Editors.IHoliday.html">IHoliday</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.html">GrapeCity.Wpf.SpreadSheet.CellType.Editors</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Wpf.SpreadSheet.CellType.dll</h6>
  <h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_DayOfWeekHoliday_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class DayOfWeekHoliday : HolidayBase, INotifyPropertyChanged, IHoliday, ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class DayOfWeekHoliday
    Inherits HolidayBase
    Implements INotifyPropertyChanged, IHoliday, ICloneable</code></pre>
  </div>
  <h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_DayOfWeekHoliday_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>
      The day of week rules includes the months and the weeks and the days in the week defined the days are holidays of this <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayOfWeekHoliday.html">DayOfWeekHoliday</a>.
    </p>
<p>
      For example, you may defined a <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayOfWeekHoliday.html">DayOfWeekHoliday</a> on the Wednesday of the first week of January by specifying the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayOfWeekHoliday.DayOfWeek.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_DayOfWeekHoliday_DayOfWeek">DayOfWeek</a> to <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayOfWeeks.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_DayOfWeeks_Wednesday">Wednesday</a>, <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayOfWeekHoliday.WeekInMonth.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_DayOfWeekHoliday_WeekInMonth">WeekInMonth</a> to <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Weeks.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_Weeks_FirstWeek">FirstWeek</a>, <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayOfWeekHoliday.Month.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_DayOfWeekHoliday_Month">Month</a> to <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Months.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_Months_January">January</a>.
     </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="GrapeCity_Wpf_SpreadSheet_CellType_Editors_DayOfWeekHoliday__ctor" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayOfWeekHoliday.#ctor">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayOfWeekHoliday.-ctor.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_DayOfWeekHoliday__ctor">DayOfWeekHoliday()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayOfWeekHoliday.html">DayOfWeekHoliday</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_DayOfWeekHoliday__ctor_GrapeCity_Wpf_SpreadSheet_CellType_Editors_Months_GrapeCity_Wpf_SpreadSheet_CellType_Editors_Weeks_GrapeCity_Wpf_SpreadSheet_CellType_Editors_DayOfWeeks_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayOfWeekHoliday.#ctor(GrapeCity.Wpf.SpreadSheet.CellType.Editors.Months,GrapeCity.Wpf.SpreadSheet.CellType.Editors.Weeks,GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayOfWeeks)">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayOfWeekHoliday.-ctor.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_DayOfWeekHoliday__ctor_GrapeCity_Wpf_SpreadSheet_CellType_Editors_Months_GrapeCity_Wpf_SpreadSheet_CellType_Editors_Weeks_GrapeCity_Wpf_SpreadSheet_CellType_Editors_DayOfWeeks_">DayOfWeekHoliday(Months, Weeks, DayOfWeeks)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayOfWeekHoliday.html">DayOfWeekHoliday</a> class with the specific day of week rules.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_DayOfWeekHoliday__ctor_System_String_GrapeCity_Wpf_SpreadSheet_CellType_Editors_Months_GrapeCity_Wpf_SpreadSheet_CellType_Editors_Weeks_GrapeCity_Wpf_SpreadSheet_CellType_Editors_DayOfWeeks_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayOfWeekHoliday.#ctor(System.String,GrapeCity.Wpf.SpreadSheet.CellType.Editors.Months,GrapeCity.Wpf.SpreadSheet.CellType.Editors.Weeks,GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayOfWeeks)">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayOfWeekHoliday.-ctor.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_DayOfWeekHoliday__ctor_System_String_GrapeCity_Wpf_SpreadSheet_CellType_Editors_Months_GrapeCity_Wpf_SpreadSheet_CellType_Editors_Weeks_GrapeCity_Wpf_SpreadSheet_CellType_Editors_DayOfWeeks_">DayOfWeekHoliday(string, Months, Weeks, DayOfWeeks)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayOfWeekHoliday.html">DayOfWeekHoliday</a> class with the specific day of week rules.</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="GrapeCity_Wpf_SpreadSheet_CellType_Editors_DayOfWeekHoliday_DayOfWeek" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayOfWeekHoliday.DayOfWeek">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayOfWeekHoliday.DayOfWeek.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_DayOfWeekHoliday_DayOfWeek">DayOfWeek</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the day of week on which the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayOfWeekHoliday.html">DayOfWeekHoliday</a> is defined.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_DayOfWeekHoliday_HolidayName" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayOfWeekHoliday.HolidayName">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayOfWeekHoliday.HolidayName.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_DayOfWeekHoliday_HolidayName">HolidayName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name of the weekday holiday.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_DayOfWeekHoliday_IsYearly" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayOfWeekHoliday.IsYearly">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayOfWeekHoliday.IsYearly.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_DayOfWeekHoliday_IsYearly">IsYearly</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the holiday implementation is yearly.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_DayOfWeekHoliday_Month" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayOfWeekHoliday.Month">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayOfWeekHoliday.Month.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_DayOfWeekHoliday_Month">Month</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the month in which the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayOfWeekHoliday.html">DayOfWeekHoliday</a> is defined.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_DayOfWeekHoliday_WeekInMonth" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayOfWeekHoliday.WeekInMonth">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayOfWeekHoliday.WeekInMonth.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_DayOfWeekHoliday_WeekInMonth">WeekInMonth</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the weekday order which the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayOfWeekHoliday.html">DayOfWeekHoliday</a> is defined.</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="GrapeCity_Wpf_SpreadSheet_CellType_Editors_DayOfWeekHoliday_Clone" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayOfWeekHoliday.Clone">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayOfWeekHoliday.Clone.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_DayOfWeekHoliday_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a shallow copy of the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayOfWeekHoliday.html">DayOfWeekHoliday</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_DayOfWeekHoliday_IsDefined_System_DateTime_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayOfWeekHoliday.IsDefined(System.DateTime)">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayOfWeekHoliday.IsDefined.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_DayOfWeekHoliday_IsDefined_System_DateTime_">IsDefined(DateTime)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the specified date is a <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayOfWeekHoliday.html">DayOfWeekHoliday</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_DayOfWeekHoliday_TypeOfDay_System_DateTime_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayOfWeekHoliday.TypeOfDay(System.DateTime)">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DayOfWeekHoliday.TypeOfDay.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_DayOfWeekHoliday_TypeOfDay_System_DateTime_">TypeOfDay(DateTime)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the type of day for the specified date.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
