MonthCalendar.AddAnnuallyBoldedDate Method (DateTime)

 

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

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public void AddAnnuallyBoldedDate(
	DateTime date
)

Parameters

date
Type: System.DateTime

The date to be displayed in bold.

You must call the 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 AnnuallyBoldedDates property.

.NET Framework
Available since 1.1
Return to top
Show: