[]
        
(Showing Draft Content)

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

BlackoutDates Property

BlackoutDates

Gets a collection of dates that are marked as not selectable in the drop down calendar.

Declaration
public BlackoutDatesCollection BlackoutDates { get; }
Public ReadOnly Property BlackoutDates As BlackoutDatesCollection
Property Value
Type Description
BlackoutDatesCollection

A collection of dates that cannot be selected. The default value is an empty collection.

Remarks

Dates in this collection will appear gray and crossed out in the drop down calendar.

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.