ComponentOne CalendarView for WinForms
CalendarView for WinForms / Using Controls / CalendarView Features / Custom Dates / Bolded Dates
In This Topic
    Bolded Dates
    In This Topic

    Bolded dates allow you to highlight important events, appointments, or activities on specific dates in calendar.

    At design-time, it is possible to add bolded dates through DateTime Collection Editor. For more information about adding bolded dates through DateTime Collection Editor, see Collection editors. To add bolded dates through code in CalendarView, set the BoldedDates property.

    The following image shows a bolded date in CalendarView.

    The following code snippet shows how to add a bolded date using the BoldedDates property in CalendarView.

    ' add a bolded date 
    C1CalendarView1.BoldedDates =
        New DateTime() {New DateTime(2017, 3, 13, 0, 0, 0, 0)}
    
    // add a bolded date 
    c1CalendarView1.BoldedDates = new DateTime[]
    {
        new DateTime(2017, 3, 13, 0, 0, 0, 0)
    };