Returns how often the event was raised while the button or key is held down; 0 for the first time.
Class: UpDownPressEventArgs
Namespace: Softelvdm.SftMaskNET
Assembly: Softelvdm.SftMaskNET
public int Counter { get; }Public ReadOnly Property Counter As Integer
Returns how often the event was raised while the button or key is held down; 0 for the first time.
The counter increases every 100 milliseconds while the mouse button is held down on the button, and with each repeated key; it starts again at 0 when the mouse pointer leaves the button. For a button, the control's own step is used for 0, and again once the keyboard repeat delay of Windows has passed; for a key, with every press and repeat. The step grows with the time the button or key has been held (SftMask.SpinAccelerations property).
See Also UpDownPressEventArgs Class | Classes | SftMask/NET 3.0