System.Windows.Forms.MonthCalendar.AddAnnuallyBoldedDate Method

Adds a day that is displayed in bold on an annual basis in the month calendar.

Syntax

public void AddAnnuallyBoldedDate (DateTime date)

Parameters

date
The date to be displayed in bold.

Remarks

You must call the MonthCalendar.UpdateBoldedDates method afterward to update the display.

To add multiple dates in a single assignment, you can assign an array of DateTime objects to the MonthCalendar.AnnuallyBoldedDates property.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0