System.Windows.Forms.MonthCalendar.AddBoldedDate Method

Adds a day to be displayed in bold in the month calendar.

Syntax

public void AddBoldedDate (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.BoldedDates 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