# GrapeCity.Wpf.SpreadSheet.CellType.Editors.HolidayCollection.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_HolidayCollection__ctor_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.HolidayCollection.#ctor*">HolidayCollection Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_HolidayCollection__ctor_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.HolidayCollection.#ctor*"></a>
<h4 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_HolidayCollection__ctor" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.HolidayCollection.#ctor">HolidayCollection()</h4>
<div class="markdown level1 summary"><p>Initializes a new <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.HolidayCollection.html">HolidayCollection</a> object.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public HolidayCollection()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New()</code></pre>
</div>


<a id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_HolidayCollection__ctor_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.HolidayCollection.#ctor*"></a>
<h4 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_HolidayCollection__ctor_System_Collections_Generic_IEnumerable_GrapeCity_Wpf_SpreadSheet_CellType_Editors_IHoliday__" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.HolidayCollection.#ctor(System.Collections.Generic.IEnumerable{GrapeCity.Wpf.SpreadSheet.CellType.Editors.IHoliday})">HolidayCollection(IEnumerable&lt;IHoliday&gt;)</h4>
<div class="markdown level1 summary"><p>Initializes a new <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.HolidayCollection.html">HolidayCollection</a> object using
the specified settings.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public HolidayCollection(IEnumerable&lt;IHoliday&gt; holidays)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(holidays As IEnumerable(Of IHoliday))</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.IHoliday.html">IHoliday</a>&gt;</td>
      <td><span class="parametername">holidays</span></td>
      <td><p>A object array of holidays with the GrapeCity.Windows.InputMan.IHoliday
interface implemented.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
