Posted 16 years ago
by Jeff Wang

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