Skip to main content

Routing Events and Commands

  • Chapter
Illustrated WPF
  • 632 Accesses

Abstract

Windows programming is event driven, which means that while a program is running, it can be interrupted at any time by user actions or system actions such as button clicks, key presses, or system timers. When this happens, the program needs to handle the event and then continue on its course. If you want your program to perform some set of tasks when a particular event occurs, you must write a method, called an event handler, to be called when the event occurs.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints and permissions

Copyright information

© 2009 Daniel Solis

About this chapter

Cite this chapter

(2009). Routing Events and Commands. In: Illustrated WPF. Apress. https://doi.org/10.1007/978-1-4302-1911-8_9

Download citation

Publish with us

Policies and ethics