Posted 3 September 2024, 5:23 am EST
Hi,
we’re looking for the best approach to ensure that all C1 controls in our solution consistently use the “de-DE” culture setting. Currently, at the Application StartUp event, we’re setting the culture with the following code:
Dim objCulture As New System.Globalization.CultureInfo("de-DE")
System.Threading.Thread.CurrentThread.CurrentCulture = objCulture
System.Threading.Thread.CurrentThread.CurrentUICulture = objCulture
However, we would prefer not to have to set this in each XAML file, code-behind, or on every individual control. In the past, we’ve needed to manually set the culture on specific controls, like the C1NumericTextBox, but this doesn’t seem like an optimal solution.
Could you advise on the best way to globally enforce this culture setting across all controls in the application?
Thank you in advance for your help.
Regards