I want to "pre-load" a number of selected dates on wpf form with a XamMonthCalendar control. I have my form bound to a viewmodel. Can I create a collection of DateTime objects in my viewmodel and have it bound to the XamMonthCalendar? If I can, what should the XAML look like?
Thanks!
Bob
Hello Bob,
The SelectedDates collection of the XamMonthCalendar is a readonly colleciton and you will not be able to bind it. You will have to add the dates manually in the SelectedDates.