How to customize a DatePicker/MonthCalendar?

40 Views Asked by At

Question: How can I make the following changes to a DatePicker/MonthCalendar when the calendar is opened:

  1. Highlight weekends and holidays in red

  2. Make holidays, weekends, and past dates unselectable

  3. Mark past dates with gray color

I tried to use the OnPaint event, but I couldn't get it to work.

0

There are 0 best solutions below