DateSelector remove or translate "Leap Year"

3 posts, 0 answers
  1. Vladimir
    Vladimir avatar
    6 posts
    Member since:
    Dec 2012

    Posted 17 Feb 2014 Link to this post

    Hello I need customize  DateSelector. "leap year" should not appear or translated  for year List.
    How could I do it.
  2. Deyan
    Admin
    Deyan avatar
    2039 posts

    Posted 20 Feb 2014 Link to this post

    Hello,

    Yes, you can.

    This is done by providing a custom string loader as described here:

    http://www.telerik.com/help/windows-phone/localization-string-loaders.html

    After that you can override the default Leap Year text by using the corresponding key and returning the desired string value for that key:

    http://www.telerik.com/help/windows-phone/localizationstrings-datepicker.html

    I hope this helps.

    Regards,
    Deyan
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peek previews directly from the developers working on the UI for Windows Phone, subscribe to the blog feed now.
  3. DevCraft banner
  4. Vladimir
    Vladimir avatar
    6 posts
    Member since:
    Dec 2012

    Posted 20 Feb 2014 in reply to Deyan Link to this post

    Thanks a lot!!
    it helps.
    You are the best!
Back to Top