© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•17mo ago•
2 replies
Elio

Dynamic Culture WPF

Hi, I have a question about handling dynamic culture changes in my WPF app. I'd like to change the culture while the app is running, so I call this method each time I change the app's culture. However, I have a problem when converting back a double input, because some threads were already open and didn't consider the new culture change. How should I handle this ?
Should i do this in order to make sure the culture is consider
Result = Convert.ToDouble(value, MyCurrentCulture);
Result = Convert.ToDouble(value, MyCurrentCulture);
image.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ WPF Dynamic DataGrid
C#CC# / help
3y ago
✅ WPF UI (lepoco/wpfui) Questions
C#CC# / help
2y ago
Dynamic Binding for DataGrid WPF
C#CC# / help
4y ago
Culture.invariant
C#CC# / help
3mo ago