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.