HtmlElement Events
.NET Framework 4.5
The HtmlElement type exposes the following members.
| Name | Description | |
|---|---|---|
|
Click | Occurs when the user clicks on the element with the left mouse button. |
|
DoubleClick | Occurs when the user clicks the left mouse button over an element twice, in rapid succession. |
|
Drag | Occurs when the user drags text to various locations. |
|
DragEnd | Occurs when a user finishes a drag operation. |
|
DragLeave | Occurs when the user is no longer dragging an item over this element. |
|
DragOver | Occurs when the user drags text over the element. |
|
Focusing | Occurs when the element first receives user input focus. |
|
GotFocus | Occurs when the element has received user input focus. |
|
KeyDown | Occurs when the user presses a key on the keyboard. |
|
KeyPress | Occurs when the user presses and releases a key on the keyboard. |
|
KeyUp | Occurs when the user releases a key on the keyboard. |
|
LosingFocus | Occurs when the element is losing user input focus. |
|
LostFocus | Occurs when the element has lost user input focus. |
|
MouseDown | Occurs when the user presses a mouse button. |
|
MouseEnter | Occurs when the user first moves the mouse cursor over the current element. |
|
MouseLeave | Occurs when the user moves the mouse cursor off of the current element. |
|
MouseMove | Occurs when the user moves the mouse cursor across the element. |
|
MouseOver | Occurs when the mouse cursor enters the bounds of the element. |
|
MouseUp | Occurs when the user releases a mouse button. |