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

Fluent Spinner handles Format="P0" incorrectly. #205

Closed
Pendergast4Ever opened this issue Nov 27, 2015 · 0 comments
Closed

Fluent Spinner handles Format="P0" incorrectly. #205

Pendergast4Ever opened this issue Nov 27, 2015 · 0 comments
Assignees
Milestone

Comments

@Pendergast4Ever
Copy link

In Spinner, if you set Format="P0", e.g. to display Value '1' as '100 %', the value is set from 1 to 100 or to Maximum if the TextBox control of the Spinner loses focus. That's because TextBoxTextToValue() in Spinner.cs is called and uses the 100% as input value without "unformating" it to 1.

So I think, there should be an event which offers the possibility to validate the value from the TextBox before Value property is set.

@batzen batzen added this to the 4.1.0 milestone Dec 3, 2015
@batzen batzen self-assigned this Dec 3, 2015
@batzen batzen modified the milestones: 4.0.0, 4.1.0 Dec 16, 2015
@batzen batzen closed this as completed in 556c9d5 Dec 16, 2015
batzen added a commit that referenced this issue Dec 17, 2015
…erting from string to double. This enables full feature requested in #205
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