Now that there is an official MS DatePicker in WPF4, I was wondering if there was a way to let it edit the Time part of a DateTime as well. I can’t see anything, but it seems rather obvious to have missed out?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I don’t believe there is any ‘Time’ functionality built into the DatePicker out of the box in .NET 4
http://msdn.microsoft.com/en-us/library/system.windows.controls.datepicker.aspx
You might be able to create a custom control that uses the DatePicker for the Date portion, or possibly even create a ControlTemplate for the DatePicker to add a Time Selection element… but no… it’s not built in for us unfortunately.