Hello,
I have numericUpDown in my project which valueFormat should be percentage
Here is my xaml code:
So when window with numericUpDown appears it's value is 0.00%
When i select all it's content and type here it's value becomes for example 34 , but after it loses focus the value is set to 3,400.00% but i expect that it would be 34.00%.
So, please, could you explain how can i achieve this? Why does the value multiply by 100 and how to avoid this behaviour?
I have numericUpDown in my project which valueFormat should be percentage
Here is my xaml code:
So when window with numericUpDown appears it's value is 0.00%
When i select all it's content and type here it's value becomes for example 34 , but after it loses focus the value is set to 3,400.00% but i expect that it would be 34.00%.
So, please, could you explain how can i achieve this? Why does the value multiply by 100 and how to avoid this behaviour?