IInputElement Events
.NET Framework 4.5
The IInputElement type exposes the following members.
| Name | Description | |
|---|---|---|
|
GotKeyboardFocus | Occurs when the keyboard is focused on this element. |
|
GotMouseCapture | Occurs when the element captures the mouse. |
|
GotStylusCapture | Occurs when the element captures the stylus. |
|
KeyDown | Occurs when a key is pressed while the keyboard is focused on this element. |
|
KeyUp | Occurs when a key is released while the keyboard is focused on this element. |
|
LostKeyboardFocus | Occurs when the keyboard is no longer focused on this element. |
|
LostMouseCapture | Occurs when this element loses mouse capture. |
|
LostStylusCapture | Occurs when this element loses stylus capture. |
|
MouseEnter | Occurs when the mouse pointer enters the bounds of this element. |
|
MouseLeave | Occurs when the mouse pointer leaves the bounds of this element. |
|
MouseLeftButtonDown | Occurs when the left mouse button is pressed while the mouse pointer is over the element. |
|
MouseLeftButtonUp | Occurs when the left mouse button is released while the mouse pointer is over the element. |
|
MouseMove | Occurs when the mouse pointer moves while the mouse pointer is over the element. |
|
MouseRightButtonDown | Occurs when the right mouse button is pressed while the mouse pointer is over the element. |
|
MouseRightButtonUp | Occurs when the right mouse button is released while the mouse pointer is over the element. |
|
MouseWheel | Occurs when the mouse wheel moves while the mouse pointer is over this element. |
|
PreviewGotKeyboardFocus | Occurs when the keyboard is focused on this element. |
|
PreviewKeyDown | Occurs when a key is pressed while the keyboard is focused on this element. |
|
PreviewKeyUp | Occurs when a key is released while the keyboard is focused on this element. |
|
PreviewLostKeyboardFocus | Occurs when the keyboard is no longer focused on this element. |
|
PreviewMouseLeftButtonDown | Occurs when the left mouse button is pressed while the mouse pointer is over the element. |
|
PreviewMouseLeftButtonUp | Occurs when the left mouse button is released while the mouse pointer is over the element. |
|
PreviewMouseMove | Occurs when the mouse pointer moves while the mouse pointer is over the element. |
|
PreviewMouseRightButtonDown | Occurs when the right mouse button is pressed while the mouse pointer is over the element. |
|
PreviewMouseRightButtonUp | Occurs when the right mouse button is released while the mouse pointer is over the element. |
|
PreviewMouseWheel | Occurs when the mouse wheel moves while the mouse pointer is over this element. |
|
PreviewStylusButtonDown | Occurs when the stylus button is pressed down while the stylus is over this element. |
|
PreviewStylusButtonUp | Occurs when the stylus button is released while the stylus is over this element. |
|
PreviewStylusDown | Occurs when the stylus touches the digitizer while over this element. |
|
PreviewStylusInAirMove | Occurs when the stylus moves over an element, but without touching the digitizer. |
|
PreviewStylusInRange | Occurs when the stylus is close enough to the digitizer to be detected. |
|
PreviewStylusMove | Occurs when the stylus moves while the stylus is over the element. |
|
PreviewStylusOutOfRange | Occurs when the stylus is too far from the digitizer to be detected. |
|
PreviewStylusSystemGesture | Occurs when one of several stylus gestures are detected, for example, Tap or Drag. |
|
PreviewStylusUp | Occurs when the stylus is raised off the digitizer while over this element. |
|
PreviewTextInput | Occurs when this element gets text in a device-independent manner. |
|
StylusButtonDown | Occurs when the stylus button is pressed while the stylus is over this element. |
|
StylusButtonUp | Occurs when the stylus button is released while the stylus is over this element. |
|
StylusDown | Occurs when the stylus touches the digitizer while over this element. |
|
StylusEnter | Occurs when the stylus cursor enters the bounds of the element. |
|
StylusInAirMove | Occurs when the stylus moves over an element, but without touching the digitizer. |
|
StylusInRange | Occurs when the stylus is close enough to the digitizer to be detected. |
|
StylusLeave | Occurs when the stylus cursor leaves the bounds of the element. |
|
StylusMove | Occurs when the stylus cursor moves over the element. |
|
StylusOutOfRange | Occurs when the stylus is too far from the digitizer to be detected. |
|
StylusSystemGesture | Occurs when one of several stylus gestures are detected, for example, Tap or Drag. |
|
StylusUp | Occurs when the stylus is raised off the digitizer while over this element. |
|
TextInput | Occurs when this element gets text in a device-independent manner. |