Scheduler for UWP | ComponentOne
C1.Xaml.Schedule Namespace / CalendarHelper Class / Holidays Property

In This Topic
    Holidays Property (CalendarHelper)
    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
     
    
    <C1DescriptionAttribute("CalendarHelper.Holidays", "The list of holidays.")>
    Public Property Holidays As ObservableCollection(Of Date)
    [C1Description("CalendarHelper.Holidays", "The list of holidays.")]
    public ObservableCollection<DateTime> Holidays {get; set;}
    Remarks
    Setting this property copies items from the new value to the underlying collection.
    See Also