ComponentFactory.Krypton.Toolkit.KryptonContextMenuMonthCalendar.AddAnnuallyBoldedDate C# (CSharp) Method

AddAnnuallyBoldedDate() public method

Adds a day that is displayed in bold on an annual basis in the month calendar.
public AddAnnuallyBoldedDate ( System.DateTime date ) : void
date System.DateTime The date to be displayed in bold.
return void
        public void AddAnnuallyBoldedDate(DateTime date)
        {
            if (!_annualDates.Contains(date))
            {
                _annualDates.Add(date);
                _annualDays[date.Month - 1] |= 1 << (date.Day - 1);
                OnPropertyChanged(new PropertyChangedEventArgs("AnnuallyBoldedDates"));
            }
        }