Using AgFx with MVVM (or other frameworks?)

Jul 16, 2011 at 4:15 PM

I see that models have to derive from ModelItemBase<T>. I'm used to and fond of using MVVM for my ViewModels but their base VM doesn't inherit from ModelItemBase (it just implements three interfaces). Can I use AgFx with MVVM or do I have to change my VMs?

Jul 21, 2011 at 12:06 AM

Which MVVM framework are you using? MVVM Light?  I haven't looked closely at any of these, but ModelItemBase does implement INotifyPropertyChanged.  

Depending on what the other interfaces are, you could create a derived class of ModelItemBase that implements the needed interface and then you should be good.

Jul 21, 2011 at 2:15 AM

I'm using MVVM light specifically and like I said, it just implements INotifyPropertyChanged (among some other interfaces). I think I'll have to create a superclass or something to encapsulate the two concerns. No biggie.