Specifies whether the mouse button is in the down state while the mouse pointer is over the button control.
[Visual Basic] Protected mouseDown As Boolean [C#] protected bool mouseDown; [C++] protected: bool mouseDown; [JScript] protected var mouseDown : Boolean;
true if the mouse pointer is over the button control and the mouse button is down. If the mouse is held down and the user moves the mouse pointer off the button, the button returns to its previous state and mouseDown becomes false. The default value is false.
ButtonBase Class | ButtonBase Members | System.WinForms Namespace