Export (0) Print
Expand All

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 _
)
[C#]
public void AddAnnuallyBoldedDate(
 DateTime date
);
[C++]
public: void AddAnnuallyBoldedDate(
 DateTime date
);
[JScript]
public function AddAnnuallyBoldedDate(
   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 AnnuallyBoldedDates 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 | AnnuallyBoldedDates

Show:
© 2014 Microsoft