System.Windows.Forms.MonthCalendar.AddMonthlyBoldedDate Method

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

Syntax

public void AddMonthlyBoldedDate (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.MonthlyBoldedDates 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