Chapter 9. Events and EventHandlers

Events and EventHandlers
  • What events and EventHandlers are

  • Creating a project and exploring and creating some different events

  • New events in Silverlight 4

Most Silverlight objects have a set of events that fire when users interact with them. You have already seen some events in earlier chapters. You also know that any method or function that is called when an event is fired is called an EventHandler. In this chapter I discuss the many different events that objects have, from the Click event to the new Silverlight 4 MouseWheel event. You are going to create EventHandlers for all these different events as well, so let's get started and create ...

Get Foundation Expression Blend 4 with Silverlight 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.