Silverlight – DatePicker Hiding Time
If you can’t stop time, you should hide time! The Silverlight DatePicker by default seems to want to show the time attached to the date you pick. So in the following example it doesn’t make sense to have the time attached.
Some of the formatting for basic things seems more complicated than it needs to be in Silverlight/WPF, sometimes just having a format string property that was flexible enough to handle many of the cases would be nice. We don’t always want to have to create Value Converters just to format data.
Anyway I came across this forum post that gives the answer to how to handle the problem using the .Text property on the picker.
After that, the date looks a little better!
Reader Comments