Calendar does not change first day of week according to current culture

2 posts, 0 answers
  1. Benjamin
    Benjamin avatar
    7 posts
    Member since:
    Feb 2013

    Posted 10 Oct 2016 Link to this post

    I changed the region setting in ios to French.

    I've checked that CultureInfo.CurrentUICulture.DateTimeFormat.FirstDayOfWeek returns 1 (for monday) instead of 0 (for sunday).

    The calendar control still displays sunday as the first day of week.


    I'm using Telerik for Xamarin trial version 2016.3.914.231


  2. Vladislav
    Vladislav avatar
    277 posts

    Posted 13 Oct 2016 Link to this post

    Hello Benjamin,

    Thank you for contacting us.
    The desired behavior cannot be achieved "out of the box", but the good news is that there is a simple solution which achieves it. You need only to implement a Custom calendar renderer in which you could set explicitly the current device's locale.
    Please find attached a sample project demonstrating this approach.

    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top