-
| The Best from DevelopMentor | MORE |
- MVVM: Views and ViewModels
Copy the project template into your Visual Studio 2008 templates directory located off your user documents - mine is at %UserProfile%DocumentsVisual Studio 2008TemplatesProjectTemplatesVisual C#Windows. cf0 cf3 ///cf4 Sample ViewModel that wraps a Directory.par ??cf0 par ??} -->. ///. /// Sample ViewModel that wraps a Directory. ///. cf6 // Get the message visualizer service from the service resolver.par ??cf0 cf0 messageVisualizer.Show(cf7 "About File Explorer Sample"cf0 , cf7 "File Explorer Sample 1.0"cf0 Project Template. Views.
- MVVM Helpers 2.0 is live
There is a project template for Visual Studio 2008 and another for Visual Studio 2010 – make sure to copy them into the appropriate template directories. Here’s the sample if you want to peruse it: V2SampleApp.zip.… and available on codeplex in beta form: [link]. There are several new features in this release that I've been tinkering with for a while. First, I now use MEF to link things together. waited until.NET 4.0 was released to push this out because MEF is part of the framework now. If you don't want to take a dependency on it (in 3.5) Beep() ); }.
- MVVM Helpers 2.0 is live
There is a project template for Visual Studio 2008 and another for Visual Studio 2010 – make sure to copy them into the appropriate template directories. Here’s the sample if you want to peruse it: V2SampleApp.zip.… and available on codeplex in beta form: [link]. There are several new features in this release that I've been tinkering with for a while. First, I now use MEF to link things together. waited until.NET 4.0 was released to push this out because MEF is part of the framework now. If you don't want to take a dependency on it (in 3.5) Beep() ); }.
- MVVM: IUIVisualizer and event management with behaviors
In this post, we will look at the IUIVisualizer , and bring together some of the concepts we’ve talked about already through a new sample – a simple picture viewer: The application grabs all the images from the user’s photo folder and then displays each one onto the surface of a corkboard. It’s not designed to be a true image application ala photoSuru, it’s really more of a sample of MVVM practices with the helper library. Here’s some of the coding examples present in the sample: It registers a ISelectFile service and implements it as an OpenFileDialog. par ?? par ?? par ??
- MVVM Helpers 1: Views and ViewModels
Copy the project template into your Visual Studio 2008 templates directory located off your user documents - mine is at %UserProfile%DocumentsVisual Studio 2008TemplatesProjectTemplatesVisual C#Windows. cf0 cf3 ///cf4 Sample ViewModel that wraps a Directory.par ??cf0 par ??} -->. ///. /// Sample ViewModel that wraps a Directory. ///. cf6 // Get the message visualizer service from the service resolver.par ??cf0 cf0 messageVisualizer.Show(cf7 "About File Explorer Sample"cf0 , cf7 "File Explorer Sample 1.0"cf0 Project Template. Views.
- MVVM Helpers Project Template
To start off this new series, I have created a MVVM Helpers project template - this is a Visual Studio 2008 template which will create the starter project I will be using as an example. As an example, if your user name was "Mark", like me and you are running Windows 7 it would be: "C:UsersMarkDocumentsVisual Studio 2008TemplatesProjectTemplatesVisual C#Windows". It shows off the primary usage of the MVVM library and has directories and references to required assemblies already established so it's a nice starting point for any MVVM WPF app using the helpers.
Mark's Blog of Random Thoughts - Wednesday, January 20, 2010