This documentation is archived and is not being maintained.

MonthCalendar.AddMonthlyBoldedDate Method

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

[Visual Basic]
Public Sub AddMonthlyBoldedDate( _
   ByVal date As DateTime _
)
[C#]
public void AddMonthlyBoldedDate(
 DateTime date
);
[C++]
public: void AddMonthlyBoldedDate(
 DateTime date
);
[JScript]
public function AddMonthlyBoldedDate(
   date : DateTime
);

Parameters

date
The date to be displayed in bold.

Remarks

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 MonthlyBoldedDates property.

Requirements

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 | MonthlyBoldedDates

Show: