Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

MonthCalendar.AddAnnuallyBoldedDate(DateTime) Method

Definition

Namespace:
System.Windows.Forms
Assembly:
System.Windows.Forms.dll
Source:
MonthCalendar.cs
Source:
MonthCalendar.cs
Source:
MonthCalendar.cs
Source:
MonthCalendar.cs
Source:
MonthCalendar.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

public:
 void AddAnnuallyBoldedDate(DateTime date);
public void AddAnnuallyBoldedDate(DateTime date);
member this.AddAnnuallyBoldedDate : DateTime -> unit
Public Sub AddAnnuallyBoldedDate (date As DateTime)

Parameters

date
DateTime

The date to be displayed in bold.

Remarks

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.

Applies to

See also


Feedback

Was this page helpful?