Calendar for WPF | ComponentOne
C1.WPF.Calendar Namespace / CalendarHelper Class / Holidays Property

In This Topic
    Holidays Property
    In This Topic
    Gets or sets the ObservableCollection object which holds the list of holidays (non-working days in addition to weekends). You cannot set this property in XAML.
    Syntax
    'Declaration
     
    
    Public Property Holidays As ObservableCollection(Of Date)
    public ObservableCollection<DateTime> Holidays {get; set;}
    Remarks
    Setting this property copies items from the new value to the underlying collection.
    See Also