Romain

Romain

  • NA
  • 76
  • 39.5k

Event on button when the mouse left button is down

Jun 2 2014 11:11 AM
Good morning,
 
 I contact cause I made my own user control to create a spin box. The spin box has two buttons for increase and decrease the value. I would like to create an event in order to increase or decrease the value (depend the case) when I stayed cliked, in continous, on the button. It is not the only click on the button it it is when I stay the left button down and the value continue to increase automatically.
 
Do someone know the name of the event I have to used ? I tried "PreviewMouseLeftButtonDown" but it gives the same behavior than a "Click".
 
Thank you in advance for your answer.
 
 

Answers (3)