This project has moved. For the latest updates, please go here.

Keeping the DateTimePicker's calendar open

Jun 20, 2013 at 7:58 PM
Edited Jun 20, 2013 at 7:59 PM
I need the calendar to always be visible on the DateTimePicker. I already know about the IsOpen attribute that I can add to the XAML, but even when this is set to true, the calendar will close itself after a date is choosen.

I tried to capture this event by adding the LostFocus attribute to the XAML
<xctk:DateTimePicker LostFocus="KeepDatePickerOpen" Name="dpMain" IsOpen="True"></xctk:DateTimePicker>
and inside that method I simply run
dpMain.IsOpen = true;
but it's not opening the calendar for me even though a debugging breakpoint does show me this code is running, what am I missing?
Developer
Jun 21, 2013 at 12:06 PM