4

How do I change the color of the dates on a monthCalendar? I have a dataGridView with a column for dates. How do I takes those dates, input them into my monthCalendar, and change the color of the dates in the column?

Axxelsian
  • 787
  • 3
  • 9
  • 25
Mohit Deshpande
  • 53,877
  • 76
  • 193
  • 251
  • I need a bit of clarification. Do you want to change the colors the MonthCalendar uses? Or do you want to change the color of the date in the DataGridView? Or both? – David Dec 07 '09 at 22:22
  • I want to change the color of the date in the monthCalendar. I don't wan to change the entire monthCalendar look, just the bolded dates. – Mohit Deshpande Dec 08 '09 at 00:55

1 Answers1

0

If you can get away with bolding the dates, just use AddAnnuallyBoldedDate and then call UpdateBoldedDates.

Update: Found this on CodeProject.

John
  • 15,990
  • 10
  • 70
  • 110
  • a pity that this does not inherit from MonthCalandar... That can be used with multiple months at a time.... – serhio Jun 08 '11 at 14:39