O'Reilly logo

Sams Teach Yourself WPF in 24 Hours by Christopher Bennage, Rob Eisenberg

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Commands

What You’ll Learn in This Hour:

In modern applications, a user often can execute a command in more than one way. WPF provides a convenient facility for wiring multiple gestures to a single command in an application (such as cut or paste).

What Are Commands?

Consider a sophisticated application such as Microsoft Word. You can perform hundreds of functions with the application. A good number of those functions can be executed in more ways than one. If you want to bold some selected text, you could click the Bold icon on the toolbar, or you could press Ctrl+B on the keyboard, or (with Word 2007) you could right-click and select the Bold icon ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required