This documentation is archived and is not being maintained.

MonthCalendar.AddAnnuallyBoldedDate Method

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

[Visual Basic]
Public Sub AddAnnuallyBoldedDate( _
   ByVal date As DateTime _
public void AddAnnuallyBoldedDate(
 DateTime date
public: void AddAnnuallyBoldedDate(
 DateTime date
public function AddAnnuallyBoldedDate(
   date : DateTime


The date to be displayed in bold.


You must call UpdateBoldedDates afterwards to update the display.

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


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

MonthCalendar Class | MonthCalendar Members | System.Windows.Forms Namespace | UpdateBoldedDates | AnnuallyBoldedDates