Can't find what you're looking for?

Contact us or post in our forums and we'll help you find an answer.

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.

Get the Latest Version of WinForms Edition
Download the Free Trial Now