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
Кері байланыс
https://aka.ms/ContentUserFeedback.
Жақында қолжетімді болады: 2024 жыл бойы біз GitHub Issues жүйесін мазмұнға арналған кері байланыс механизмі ретінде біртіндеп қолданыстан шығарамыз және оны жаңа кері байланыс жүйесімен ауыстырамыз. Қосымша ақпаратты мұнда қараңыз:Жіберу және пікірді көру