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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET