-1

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.

Veera
  • 37
  • 2
  • 8

1 Answers1

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

Community
  • 1
  • 1
Nicolas C
  • 225
  • 2
  • 8