5. Input Events

IN THIS CHAPTER, you will learn how to make Silverlight applications interactive with mouse and keyboard events. In particular, this chapter will describe the following:

• Silverlight input design principles

• How you can use mouse and keyboard events in your controls and applications

• How Silverlight input works “under the hood”

Input Principles

The goal of the Silverlight input system is to delegate input events to application event handlers. Many components could respond to a mouse or keyboard event including the Web browser frame, the HTML Web page, or the many controls in your application.

The design goals of Silverlight input include the following:

• Coordinate input between the Web browser and the Silverlight application ...

Get Essential Silverlight 3 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.