Skip to Content
Essential Windows Presentation Foundation
book

Essential Windows Presentation Foundation

by Chris Anderson
April 2007
Beginner
512 pages
11h 9m
English
Addison-Wesley Professional
Content preview from Essential Windows Presentation Foundation

7. Actions

IN CHAPTER 6 WE looked at how to include data in an application and visualize it in interesting ways. Up to now we have focused on the output side of the platform, looking at how an application is built up from controls that use visuals to display and layout to position everything. Now we can start to look at the input side of the platform.

Often we want an application to respond in some way when a user moves the mouse, clicks a button, presses a key, or draws with a pen. Windows Presentation Foundation has three common ways of dealing with actions: events, commands, and triggers. We will look at the principles that apply to all three of these mechanisms, and then dig into the details about each one.

Action Principles

For actions, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Intermediate Windows Presentation Foundation

Intermediate Windows Presentation Foundation

Mark Long
Windows® Presentation Foundation Unleashed

Windows® Presentation Foundation Unleashed

Adam Nathan, Daniel Lehenbauer - Lead Developer Responsible for WPF 3D

Publisher Resources

ISBN: 0321374479Purchase book