O'Reilly logo

Silverlight 5 in Action by Pete Brown

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 9. Human input

 

This chapter covers
  • Capturing keystrokes
  • Responding to mouse clicks, movement, and the wheel
  • Handling multitouch input
  • Working with pen ink input

 

Real-world applications need a way to accept input from users. This process of collecting input is managed by a wide range of input devices, such as the mouse, touch, stylus, and keyboard. Silverlight provides direct support for these devices through the System.Windows.Input namespace.

Whether you’re implementing drag and drop or mouse-wheel zoom or creating your own right-click context menus, you’ll almost certainly end up handling mouse input in your applications. Silverlight has great support for mouse states as well as for handling both left and right mouse buttons ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required