Following on from the previous post , which briefly introduced Caliburn.Micro (CM), this article digs into CM and looks at its most interesting feature: Action.
Running CM
Download Caliburn.Micro , open Template, and copy Caliburn_Micro_WPF.zip to %userprofile%\Documents\Visual Studio 2010\Templates\ProjectTemplates\Visual C#\Windows . Create a new project in Visual Studio 2010, choose Visual C# — Windows, and you will see the Caliburn.Micro template. Create a new project named CaliburnMicroWPF1 as follows:
The Framework folder contains the Caliburn.Micro source code. ShellView is the main window; ShellViewModel is the DataContext of ShellView . This is a standard View–ViewModel pattern.…