Home Forums WPF controls Xceed DataGrid for WPF Datepicker CultureInfo

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #26458 |

    Is there any way to change the first day of the week to Monday so that the datepicker follows different users’ cultureInfo? I looked up the specs on DayNames and even though it says it can set as well as get the values for DayNames, in testing, it is a ReadOnly property (http://doc.xceedsoft.com/products/XceedWpfDataGrid/Xceed.Wpf.Controls~Xceed.Wpf.Controls.DatePicker~DayNames.html). I’m using a WPF windows app and creating the CultureInfo dependent on a combobox selection. If there isn’t any way to do this now, I highly suggest it for v2.1.

    Imported from legacy forums. Posted by Brad (had 3120 views)

    Xceed Support
    Member
    Post count: 5658

    By default, the value is automatically retrieved from the FirstDayOfTheWeek property of the CultureInfo.CurrentCulture.Calendar. So you would need to gi through the CurrentCulture in order to change it.

    Imported from legacy forums. Posted by Jenny [Xceed] (had 4807 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.