TimeTracker Commands
In this chapter you've seen how the RoutedCommand
works in WPF and what WPF provides out of the box without any need to implement a custom class. Unfortunately, the RoutedCommand
is not flexible enough to be used in an MVVM application like TimeTracker where the presentation logic is driven around the ViewModel object.
In the previous chapter you started to create the ViewModels for each view, and added an ICommand
property for each command available in the View. With that foundation, you should now be able to complete the EmployeeList/EmployeeDetails combination and make this first part of the application fully functional. It will be then up to you to continue the application by implementing the same logic for the Customer ...
Get Applied WPF 4 in Context 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.