Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

18. WPF Interactions > Task List

Task List

image

In this chapter we’ll explore the ways in which WPF objects can communicate and interact through the WPF property and event systems, and the special command classes that let you centralize application behavior.

Routed Events

image

A POCO event allows interested parties to register their interest in an event by creating a handler for it. POCO events are called DIRECT EVENTS because the event is sent directly to the handlers, and that’s the end of it. In WPF, events can be handled this way, but they can also bubble up from the object that raised the event to all its ancestors in the logical hierarchy, or tunnel down from the root element to the raising object. They can even move in both directions via PreviewEvent/Event pairs. At any level, the event can be handled or passed on to the next level.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial