Chapter 10. Commands
This chapter covers:
- Approaches to command handling
- The command pattern
- System commands
- Custom commands
- Us gesturing at our application and our application gesturing back
In the last chapter, we created a simple application shell, but it doesn’t do anything. In this chapter, we’ll look at how WPF approaches the interaction between the presentation and business logic, and implement some custom business logic as well. Unlike the calculator, the implementation of the wiki in this chapter will show how WPF applications should be hooked together—no cheating by putting business logic in the UI.
Fortunately, WPF provides a lot of tools to accomplish a properly separated business logic layer—although, like Windows Forms, you can ...
Get WPF in Action with Visual Studio 2008 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.