Posted 15 years ago
by Jeff Wang
![Avatar](https://secure.gravatar.com/avatar/32de1f3268f7c37de173b907a685a2b6.jpg?s=64&d=identicon&r=g)
Hi,
I am using WPF DateTimeEditBox which has a built in MonthCalendar control. MonthCalendar control has a property called DiabledDates, which I can disable a collection of dates. But DateTimeEditBox only allows us to customize MonthCalendar through its MonthCalendarStyle property, and DisabledDates is a read only property, so how can be able to disable a collection in its built in MonthCalendar? Is there anyway I can access the instance of built in Calendar fomr DateTimeEditBox?
Thanks,
Jeff
I am using WPF DateTimeEditBox which has a built in MonthCalendar control. MonthCalendar control has a property called DiabledDates, which I can disable a collection of dates. But DateTimeEditBox only allows us to customize MonthCalendar through its MonthCalendarStyle property, and DisabledDates is a read only property, so how can be able to disable a collection in its built in MonthCalendar? Is there anyway I can access the instance of built in Calendar fomr DateTimeEditBox?
Thanks,
Jeff