Hi All,
I'm still learning wpf - so its very possible I have been searching for the wrong terms, hence I've not found what I'm looking for!
I've written a small app - a host with a list down the left hand side - just populated with "item 1", "item 2", "item3", etc and a corresponding number, 1, 2, 3 etc...
and a region (I've got this working without prism, just using MEF, which loads a usercontrol into a contentprovider) my problem started with the inability to bind my usercontrol (view) with the viewmodel. I can correctly pass the number of the item selected into the module, but the textblock bound to the property does not update at all. I am calling the RaisePropertyChanged event, which I can see when debugging but still the view does not update.
So this lead me to prism - but I'm having the same problem - I can't seem to find a good [simple] example not written in Silverlight. is it possible to write a module fully using the MVVM model and load it into a host app correctly?
Thanks,
Scott
I'm still learning wpf - so its very possible I have been searching for the wrong terms, hence I've not found what I'm looking for!
I've written a small app - a host with a list down the left hand side - just populated with "item 1", "item 2", "item3", etc and a corresponding number, 1, 2, 3 etc...
and a region (I've got this working without prism, just using MEF, which loads a usercontrol into a contentprovider) my problem started with the inability to bind my usercontrol (view) with the viewmodel. I can correctly pass the number of the item selected into the module, but the textblock bound to the property does not update at all. I am calling the RaisePropertyChanged event, which I can see when debugging but still the view does not update.
So this lead me to prism - but I'm having the same problem - I can't seem to find a good [simple] example not written in Silverlight. is it possible to write a module fully using the MVVM model and load it into a host app correctly?
Thanks,
Scott