#655 – Bubbling Mouse Events Swallowed by Some Controls
When you click a mouse button on a Label control, you’ll see a series of tunneling and bubbling events, as shown below. However, if you click a mouse button on a TextBox control, you’ll only see some...
View Article#657 – Detecting Double Clicks in User Interface Elements
You can react to a user double-clicking on a user interface element by handling one of the mouse button events and checking the MouseButtonEventArgs.ClickCount field. When a user double-clicks on an...
View Article#685 – Capturing the Mouse
When you are handling mouse events, the event is generally fired by the control that the mouse is over. For example, if you hold down the mouse button over one control, move the mouse, and release...
View Article#687 – What Happens If You Forget to Release The Mouse
A user interface element can capture the mouse, asking to receive all future mouse events, no matter where the mouse cursor is located. You’ll typically capture the mouse in a mouse down or related...
View Article