This is a migrated thread and some comments may be shown as answers.

Set Date Display format through XAML

1 Answer 71 Views
DatePicker
This is a migrated thread and some comments may be shown as answers.
Pravin
Top achievements
Rank 1
Pravin asked on 12 Jan 2013, 12:37 PM
Hi there

I have a requirement where I need to show the selected date in "Saturday, 12 Jan 2013" format to the user.
How can I achieve the same using XAML.

Sicne I am using the MVVM, I do not want to use code behind approach as suggested in other other thread of this forum.

you help is appreciated. Thanks

1 Answer, 1 is accepted

Sort by
0
Alek
Telerik team
answered on 17 Jan 2013, 08:15 AM
Hello Pravin,

In XAML you can use two properties in order to manipulate how the selected date will be shown. 
  • DisplayFormat;
  • Culture;
For the scenario you've described you should set DisplayFormat to Long and Culture set to en-AU (for example).

Regards, Alek
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
DatePicker
Asked by
Pravin
Top achievements
Rank 1
Answers by
Alek
Telerik team
Share this question
or