# GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.BlackoutDates

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_BlackoutDates_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.BlackoutDates*">BlackoutDates Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_BlackoutDates_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.BlackoutDates*"></a>
<h4 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_BlackoutDates" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.BlackoutDates">BlackoutDates</h4>
<div class="markdown level1 summary"><p>Gets a collection of dates that are marked as not selectable in the drop down calendar.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public BlackoutDatesCollection BlackoutDates { get; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public ReadOnly Property BlackoutDates As BlackoutDatesCollection</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.BlackoutDatesCollection.html">BlackoutDatesCollection</a></td>
      <td><p>A collection of dates that cannot be selected. The default value is an empty collection.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_BlackoutDates_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>
      Dates in this collection will appear gray and crossed out in the drop down calendar.
    </p>
<p>
      To make all past dates not selectable, you can use the GrapeCity.Windows.InputMan.BlackoutDatesCollection.AddDatesInPast method provided by the collection returned by this property.
    </p>
</div>
</div>
