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

[NumericUpDown] Always use the current cultures decimal separator #3850

Merged
merged 6 commits into from
Jun 17, 2020

Conversation

timunie
Copy link
Collaborator

@timunie timunie commented Jun 12, 2020

Describe the changes you have made to improve this project

If the user hits the Decimal-Key let's type the decimal separator which the current culture use.

Introduce a new dependency property DecimalPointCorrection to allow override the decimal-point culture input for the TextBox.

(solution taken from https://highfieldtales.wordpress.com/2014/10/19/numpads-decimal-point-correction-for-wpf)

Closed Issues

Closes #3843

@punker76 punker76 added this to the 2.1.0 milestone Jun 14, 2020
timunie and others added 6 commits June 16, 2020 18:15
if the user hits the Numpads Decimal-Key we get the current cultures  NumberDecimalSeparator and write this to the TextBox as this is what the user expects
Introduce a new dependency property DecimalPointCorrection to allow override the decimal-point culture input for the TextBox.

(solution taken from https://highfieldtales.wordpress.com/2014/10/19/numpads-decimal-point-correction-for-wpf)
@punker76 punker76 merged commit 540e0ea into MahApps:develop Jun 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

NumericUpDown decimal input
2 participants