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 ...