Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

MonthCalendar.RemoveAllBoldedDates Method

Removes all the nonrecurring bold dates.

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

public void RemoveAllBoldedDates()

This method clears the BoldedDates array. To remove a single date from the bold dates, use the RemoveBoldedDate method.

You must call the UpdateBoldedDates method to ensure that the display is updated to reflect the removal.

The following code example demonstrates how to use the RemoveAllBoldedDates method.

private void button3_Click(object sender, System.EventArgs e)
    button3.Enabled = false ;

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft