Question

I have a list of dates. I would like to be able to populate a windows forms monthcalendar control to show these dates as selectable(clickable) dates, whilst any date that is not in the list is disabled on the calendar control. Is it possible to do this?

regards,

Was it helpful?

Solution

You can set the MinDate and MaxDate properties in order to give the user a specific range of dates to choose from. I don't believe removing dates between MinDate and MaxDate is a function the current control supports. You'd have to implement your own custom MonthCalendar control for that.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top