Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

New Post: Keeping the DateTimePicker's calendar open

$
0
0
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?

Viewing all articles
Browse latest Browse all 4964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>