Search
Project Description
Demo of how to implement decent datetimepicker.


Basically, the good way of implementing DateTimePicker in WPF.

DateTimePicker is very close to ComboBox in a way. It supposed to look close to one, except the selection is not from vertical list but from more decorated grid of dates.

This demo shows how to template a custom DateTimePicker controls using special customised ComboBox underneath, providing a custom Panel (UniformGrid) and a custom ItemsSource (CalendarDaysGenerator).

This way most of the functionality is implemented automatically. The remaining feature set is switching between months/years. Ideally I want it to be as in Windows Vista. If you haven't seen the way Vista lets you switch months/years, give it a try -- really funky way.
Last edited Feb 27 2009 at 12:18 AM by mihailik, version 2
Updating...
© 2006-2012 Microsoft | Get Help | Privacy Statement | Terms of Use | Code of Conduct | Advertise With Us | Version 2012.1.11.18365