Stagger increments in C# NumericUpDown control

Posted by mihe on Stack Overflow See other posts from Stack Overflow or by mihe
Published on 2010-06-17T11:23:33Z Indexed on 2010/06/17 11:53 UTC
Read the original article Hit count: 232

Filed under:
|

Hi cloud of wisdom :-)

I am facing some trouble trying to configure a particular configuration for a NumericUpDown control in c#.

Basically, I have seen that I can set the Increment interval, but I would like to manage the Increment interval depending on which arrow is clicked (up or down). I have checked the events of the control, but I do not find an event for each arrow.

Basically, I want to achieve a control where, at different values, the increment is different.

from 0.00 to 5.00 increments of 0.01, from 5.00 to 20.00 increments of 0.04, and so on

Is this possible ?

Note: It would be useful also an historic value in the control for the last value when the valuechanged event is trigger. Does this exist?

Thanks in advance for any comment or suggestion!!!

© Stack Overflow or respective owner

Related posts about c#

Related posts about numericupdown