... a journey through WPF, MVVM and .NET4 RSS 2.0
# Tuesday, August 04, 2009

I just put the latest version of the MVVM helpers online - mvvmhelpers.zip

There's a bunch of new stuff in it - check the release notes for the highlights.  There's a set of breaking changes in it as well, specifically I've moved several of the attached behaviors into the new Blend model.  Originally in my local version I did it to the JulMar.Wpf.Helpers.dll and got a dependency against System.Windows.Interactivity.dll.

I decided that for this release I didn't want to force that dependency so I created a secondary assembly JulMar.Wpf.Behaviors.dll which has all those behaviors in it.  The breaking change is I removed the original attached behaviors from the library (DoubleClickBehavior, NumericTextBehavior, MouseDragBehavior) in favor of using these new versions.  I did update the sample to show how they get used.

In a recent Essential WPF class, one of the students wanted an ObservableDictionary which we whipped up there - I cleaned up that implementation somewhat and added it into this library along with some unit tests for it.

Again, please check the readme included in the .zip file -- as always you are free to do whatever you like with this code.  If you do anything interesting or fun, let me know!

 

Tuesday, August 04, 2009 1:14:38 PM (Central Daylight Time, UTC-05:00)  #    Comments [3] -
.NET | WPF | MVVM
Friday, August 21, 2009 9:43:04 AM (Central Daylight Time, UTC-05:00)
Thanks for the great set of helpers. Man MVVM rules and you just made it that much easier to implement, especially with the ObservableDictionary. I love it - thanks for making development life a little easier.
Thursday, September 03, 2009 5:15:24 AM (Central Daylight Time, UTC-05:00)
Thanks for these great helpers.
I am writing an example WPF application in my company and want to have a mimimal MVVM helper in it. But I am integrating more and more of your excellent work... Guess I should jump in and take it as is.

I've added a property 'IsInDesignMode' to the base VM class, set by the ViewModelCreatorExtension. It allows me to conditionnally do some stuff (like DB access) if the form is in the design window. I can show the code here, but I guess you already have it in your head.

Jean-Marie
Jean-Marie Pirelli
Thursday, September 24, 2009 7:11:58 AM (Central Daylight Time, UTC-05:00)
Thanks for your helps, I'm doing a healthcare project using MVVM Pattern.. I have taken some part from you source.

RameshRaja
from India
Ramesh Raja
Comments are closed.
I'm a WPF Disciple
Search
Categories
Archive
<September 2010>
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
262728293012
3456789
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2010
Mark Smith
Sign In
All Content © 2010, Mark Smith
DasBlog theme 'Business' created by Christoph De Baene (delarou)