Set Date Display format through XAML

2 posts, 0 answers
  1. Pravin
    Pravin avatar
    1 posts
    Member since:
    Jun 2012

    Posted 12 Jan 2013 Link to this post

    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
  2. Alek
    Alek avatar
    78 posts

    Posted 17 Jan 2013 Link to this post

    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.

Back to Top