Skip to main content Skip to footer

Highlight selected day of C1Schedule in C1Calendar

Background:

How to highlight selected day of C1Schedule in C1Calendar

Steps to Complete:

1. Handle MouseClick event and inside access c1scheduler’s selected day using CurrentDate.Date property.

DateTime currDate = c1Schedule1.CurrentDate.Date;

2. Add this selected day to c1calendar’s bolded dates collection.

private void C1Schedule1_MouseClick(object sender, MouseEventArgs e)
{
    DateTime currDate = c1Schedule1.CurrentDate.Date;
    c1Calendar1.BoldedDates = currDate;
}

Note: If further styles need to be applied to highlighted bolded date then set the style for ‘Selected Bolded Day’ as demonstrated here.

Ruchir Agarwal