# GrapeCity.Wpf.SpreadSheet.CellType.Editors.HolidaySetting

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_HolidaySetting" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.HolidaySetting" class="text-break">HolidaySetting Class
</h1>
  <div class="markdown level0 summary"><p>Represents a GrapeCity.Windows.InputMan.HolidaySetting which holds the calendar holidays.</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.HolidaySettingBase.html">HolidaySettingBase</a></div>
    <div class="level2"><span class="xref">HolidaySetting</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>
  <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_HolidaySetting_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class HolidaySetting : HolidaySettingBase, INotifyPropertyChanged</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public NotInheritable Class HolidaySetting
    Inherits HolidaySettingBase
    Implements INotifyPropertyChanged</code></pre>
  </div>
  <h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_HolidaySetting_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>
        A <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.HolidaySetting.html">HolidaySetting</a> holds multiple GrapeCity.Windows.InputMan.IHoliday and it could be set to GrapeCity.Windows.InputMan.GcDropDownCalendar.HolidaySetting property for setting holidays to GrapeCity.Windows.InputMan.GcDropDownCalendar.
      </p>
<p>
        The <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.HolidaySetting.html">HolidaySetting</a> could be activated via setting <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.HolidaySetting.IsActive.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_HolidaySetting_IsActive">IsActive</a> to <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a> or check the corresponding context item (the header of the item is the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.HolidaySettingBase.HolidaySettingName.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_HolidaySettingBase_HolidaySettingName">HolidaySettingName</a>) in the natively supported holiday context menu opened in GrapeCity.Windows.InputMan.GcDropDownCalendar.
      </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_HolidaySetting__ctor" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.HolidaySetting.#ctor">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.HolidaySetting.-ctor.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_HolidaySetting__ctor">HolidaySetting()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.HolidaySetting.html">HolidaySetting</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_HolidaySetting__ctor_System_String_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.HolidaySetting.#ctor(System.String)">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.HolidaySetting.-ctor.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_HolidaySetting__ctor_System_String_">HolidaySetting(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.HolidaySetting.html">HolidaySetting</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="GrapeCity_Wpf_SpreadSheet_CellType_Editors_HolidaySetting_Holidays" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.HolidaySetting.Holidays">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.HolidaySetting.Holidays.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_HolidaySetting_Holidays">Holidays</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the holidays.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_HolidaySetting_IsActive" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.HolidaySetting.IsActive">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.HolidaySetting.IsActive.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_HolidaySetting_IsActive">IsActive</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether this holiday setting is active.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
