#617 – Input Events

Elements in WPF fire various type of input events, as a user interacts with the element.  There are four basic types of input events.

  • Keyboard events – Fire when user presses keys on the keyboard
  • Mouse events – Fire when a user does something with the mouse–e.g. moves the mouse or presses a mouse button
  • Touch events – Fire when a user uses their finger to touch an element (requires touch-sensitive screen)
  • Stylus events – Fire when the user uses a stylus device to touch an element on the screen  (requires a stylus device and touch-sensitive screen)
Advertisement