NumericUpDown 's ValueChanged event is not always fired

  • Thread starter Thread starter Ryan Liu
  • Start date Start date
R

Ryan Liu

I notice
System.Windows.Forms.NumericUpDown's
ValueChanged event is not always fired, especially edit its text box
directly.

Is this a known bug or there is something I should pay attention for this
control?

Thanks,
Ryan
 
Per documentation - "For the ValueChanged event to occur, the Value property
can be changed in code, by clicking the up or down button, or by the user
entering a new value that is read by the control. The new value is read when
the user hits the ENTER key or navigates away from the control. If the user
enters a new value and then clicks the up or down button, the ValueChanged
event will occur twice."

In your case did you test by pressing enter key or tabbing out to the next
field?
 
Back
Top