I have WPF DatePicker In My UserControl and I want to display date as MMM-DD format. I am using MVVM Pattern. Any One faced this issue.
Asked
Active
Viewed 137 times
-1
-
Any particular DatePicker control? What have you tried already? – Rowland Shaw Sep 21 '15 at 13:51
-
it is system.Windows.controls.datePicker Control No third party control used – Veera Sep 21 '15 at 14:01
1 Answers
0
There us a lot of topic about that whit more or less hacking of the control but may be you could try the DateTimePicker from the WPF Toolkit which has 2 properties 'Format' and 'FormatString' Like it's describe in this another post.
Set Format=Custom And FormatString="youre custom format" like "dd::MMM::yyyy hh-mm-ss" or what ever you need