I have one problem with bindings in NumericUpDown editor. Code first:
I'm trying to bind control DpDecimal to DefaultValue of an entity. I have also some properties of the default value like precision, scale,..
The control DpDecimal has bound its properties NumberDecimalDigits, Minimum, Maximum to controls of these properties. I have also one help button here and when click to this button the actual value of entity default value is filled into the textbox next to it, just for testing.
I'm trying this scenario:
1. fill min = 1, max = 1000, scale = 2, precision = 5 and default value = 500
2. change min value to 600 and click the button test before losing focus. This works and default value is changed in control and also in entity property to min value = 600.
3. change default value to 600,19
I need somehow to fix this to have changed also the value of the property in the entity. I also need to keep default value as a string because of the structure of my application. I did try to handle events from property controls and update the control of default value source explicitly but it also doesn't work. Neither change of UpdateEvent to PropertyChanged help.
Thanks for any advice.