Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / GcDropDownCalendar Class / BlackoutDates Property


In This Topic
    BlackoutDates Property (GcDropDownCalendar)
    In This Topic
    Gets a collection of dates that are marked as not selectable.
    Syntax
    'Declaration
     
    Public ReadOnly Property BlackoutDates As BlackoutDatesCollection
    'Usage
     
    Dim instance As GcDropDownCalendar
    Dim value As BlackoutDatesCollection
     
    value = instance.BlackoutDates
    public BlackoutDatesCollection BlackoutDates {get;}

    Property Value

    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 on the 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.

    See Also