編輯

共用方式為


MonthCalendar.AddMonthlyBoldedDate(DateTime) Method

Definition

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

public:
 void AddMonthlyBoldedDate(DateTime date);
public void AddMonthlyBoldedDate (DateTime date);
member this.AddMonthlyBoldedDate : DateTime -> unit
Public Sub AddMonthlyBoldedDate (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 MonthlyBoldedDates property.

Applies to

See also