I'm creating a MaskedTextBox with Mask = "#999.99" and ValueDataType Decimal
However when I enter (e.g.) -123.45 as input I get validation errors. Only positive numbers work. I also can't set the value from code behind to a negative number or else I'll get the following error:
The value representation '-0001,20' does not match the mask.
Parameter name: value
Is this some error in the MaskedTextBox component or am I using it wrongly?
However when I enter (e.g.) -123.45 as input I get validation errors. Only positive numbers work. I also can't set the value from code behind to a negative number or else I'll get the following error:
The value representation '-0001,20' does not match the mask.
Parameter name: value
Is this some error in the MaskedTextBox component or am I using it wrongly?