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

How to set date format from XAML?

1 Answer 181 Views
DatePicker
This is a migrated thread and some comments may be shown as answers.
Nitin
Top achievements
Rank 1
Nitin asked on 10 Mar 2011, 08:22 AM
Hi All,

How can I set date format to "MM\dd\yyyy" from xaml? I dont want to write code for this. I am using Q3 2010 version of dlls.

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 11 Mar 2011, 08:42 AM
Hello,


I am not able to find a property that allows to set DateFormat from XAML  But found a way to accomplish this by setting the CultureInfo using code.

Checkout the forum links:
Changing DateFormat
Display Date Format



-Shinu.
Tags
DatePicker
Asked by
Nitin
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or