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

DateTimePicker - remove Time control

Aug 18, 2011 at 11:49 AM

Is there any way to remove Time field (with spinner) from the bottom of the DateTimePicker control?



Aug 18, 2011 at 2:28 PM

Currently there is no way to remove the TimePicker from the DateTimePicker.  If this is important you could download the source code and make your modifications.

Aug 19, 2011 at 9:49 AM
Edited Aug 19, 2011 at 9:50 AM

I have changed DateTimePicker control, added a property 

Visibility TimePickerVisibility

and also have binded the property in Generic.xaml, to control:


It would be great to include this in latest version, as it is useful for us to have that option.

I can send you files: DateTimePicker.cs and Generic.xaml for DateTimePicker control.