I would like to make WinForms NumericUpDown control non-editable or at least spin control should be disabled. I tried setting the control readonly but using mouse scroll values are changing. Please help me to achieve this.
Try the following in order to set the numeric up/down as read-only:
numericUpDown1.ReadOnly = true;
numericUpDown1.Increment = 0;
I hope it helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With