MonthCalendar.RemoveAllBoldedDates Method
Definition
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.
Removes all the nonrecurring bold dates.
public:
void RemoveAllBoldedDates();
public void RemoveAllBoldedDates ();
member this.RemoveAllBoldedDates : unit -> unit
Public Sub RemoveAllBoldedDates ()
Examples
The following code example demonstrates how to use the RemoveAllBoldedDates method.
private:
void button3_Click( Object^ /*sender*/, System::EventArgs^ /*e*/ )
{
monthCalendar1->RemoveAllBoldedDates();
monthCalendar1->UpdateBoldedDates();
listBox1->Items->Clear();
button3->Enabled = false;
}
private void button3_Click(object sender, System.EventArgs e)
{
monthCalendar1.RemoveAllBoldedDates();
monthCalendar1.UpdateBoldedDates();
listBox1.Items.Clear();
button3.Enabled = false ;
}
Private Sub button3_Click(ByVal sender As Object, ByVal e As System.EventArgs)
monthCalendar1.RemoveAllBoldedDates()
monthCalendar1.UpdateBoldedDates()
listBox1.Items.Clear()
button3.Enabled = False
End Sub
Remarks
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.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.