Hi Konstantina ,
I'm afraid that doesn't do it either. The problem is I have lots of grids over lots of windows and I'd like to set the all to UK date from a few lines of global settings code.
If I use:
Dispatcher.BeginInvoke(() => Language = XmlLanguage.GetLanguage("en-GB")); in Main.cs
1) All grids in the main application display the date in UK format. Good
2) All grids in RadWindows / Popups display the grid in US format. Bad
Fix: Add Dispatcher.BeginInvoke(() => .... to all RadWindows
If I use:
Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en-GB");
Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("en-GB");
1) All grids in the application still show the date as US format. Bad
Fix: Edit the grid properties, for every grid
to set IsLocalizationLanguageRespected="False"
They would all work but that's a huge amount of work.
So the question comes down to, as the grid is set to IsLocalizationLanguageRespected="True" by default,
Is there away of globally setting the Language for the application to "en-GB" ?
Or, globally setting default grid property to IsLocalizationLanguageRespected="False"?
I have tired setting the Language in App.cs but it's not a Framework Element and has no such property.