I have not used prism before, nor regions. I am using Bxf in A SL4 project and using CSLA4 and have created an application based similar to Visual Studio and similar to Outlook. Where I have a in my Outlook bars regions and I have a main window that has tabbed documents. I have got all this up and running. but now I am trying to add content to all my Views/UserControls through their ViewModels. Specifically, I am trying to get actions in one View/UserControl/Region/ViewModel to talk to a different View/ViewModel/Region. I have also implemented a simplistic approach to Commanding. Did not use InvokeMethod.
For instance in one of my OutlookBar Views I have a TreeListView (a variation of a TreeView in a datagrid -- to be later expanded on for paging items and quick loading). I would like the selection of a TreeListViewItem to send a message to the tabbed documents.
I can create routed events to do this, but I am not sure if that is correct. I know Rocky's videos will explain this part, but I am there now. Can someone explain, how to use regions with dynamically.programmatically created tabbed documents and how to get messaging between the various regions?
I also read some people are using BxF with MEF or Prism. Don't understand why? Is this what I am missing? Anyone?
Still same question, but just found out Silverlight won't let me send a routed event, just a clr event. not that big a hit. Yes, I had been doing WPF before this.
Thanks for the videos Rocky. That did the trick.
I've watched all the current MVVM videos and didn't see this addressed. Which video did you find the answer and where?
Copyright (c) Marimer LLC