Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format and parse property values with the same format provider #150

Closed
gix opened this issue Oct 22, 2019 · 1 comment
Closed

Format and parse property values with the same format provider #150

gix opened this issue Oct 22, 2019 · 1 comment
Assignees
Milestone

Comments

@gix
Copy link
Contributor

gix commented Oct 22, 2019

Property values are displayed in a different style than they are parsed when entered. Presumably formatting is done using an invariant (or English) culture, and parsing with the user-specific culture.

For example, if Windows is running with some European region setting with , as decimal separator, a margin property value is formatted as 4,20,5,2, but when changing this value I have to replace all delimiters and write 4;20;5;2.

@batzen
Copy link
Collaborator

batzen commented Oct 23, 2019

That also bugs me for years now, but i started using spaces as separators to work around this. Will have a look sometime in November.

@batzen batzen self-assigned this Oct 24, 2019
@batzen batzen added this to the 3.0 milestone Oct 24, 2019
@batzen batzen closed this as completed in 73bf41d Dec 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants