Commands in WPF can be defined and maintained in
a static class. The commands need to be bind with the window whose
controls use them. To bind the commands, events CanExecute and Executed
events need to defined in the window itself. But most of the times,
people want all their commands and related CanExecute and Executed
events in one single static class which makes it easier to maintain the
program logic from one central place. The purpose of this article which I posted on codeproject is to tell you how to enable this facility.