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


In This Topic
    BlackoutDates Property (GcDateTime)
    In This Topic
    Gets a collection of dates that are marked as not selectable in the drop down calendar.
    Syntax
    'Declaration
     
    Public ReadOnly Property BlackoutDates As BlackoutDatesCollection
    'Usage
     
    Dim instance As GcDateTime
    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 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.

    See Also