Quantcast
Channel: patterns & practices: Prism
Browsing all 1878 articles
Browse latest View live

New Post: Seeing ViewModel Properties when Binding

We make a property in the view that is the same type of the viewmodel that will be injected in and set that property as the datacontext in xaml. We do tie our views to the viewmodel but not the...

View Article


New Post: Load different modules in the same regions

Hi, Thank you for your answer. I would like to clarify that the menu commands exist in the ShellViewModel. How can I use RegionManager in it? Below is the code from my ShellViewModel with the...

View Article


New Post: Nice to see this library getting some new attention!

Thanks guys!

View Article

New Post: Load different modules in the same regions

Hi, Your implementation is correct in which you import the RegionManager from the container. In addition, you would also need to import the RegionManager on each Module class so you may be able to...

View Article

Reviewed: Prism 4 - November 2010 (二月 19, 2014)

Rated 5 Stars (out of 5) - VERY GOOD WANT TO STUDY IT

View Article


New Post: Exception "Activation error occured while trying to get instance of...

Hi Gabriel, I change the Export attribute from [Export(typeof(HelloWorldView))] -> [Export("HelloWorldView")] and it worked. Thanks, Sharda.

View Article

New Post: How to utilise Event aggregator in MEF?

I am running the latest PRISM 4.2. Unfortunately the Event Aggregator tutorial in the documentation is driven via Unity instead of MEF. And I can't get it running under MEF. If you may be so kind and...

View Article

New Post: Prism+MEF+MVCVM: injecting viewmodel instance of the currently...

Hi Gabriel, Sorry for being late for reply.Your Answer is satisfactory, Thanks for your valuable help.

View Article


New Post: How to utilise Event aggregator in MEF?

There is a MefEventAggregator which is used by MEF. You have to add the parameter IEventAggregator to your MainViewModel.[ModuleExport(typeof(MainViewModel))] public class MainViewModel : BindableBase,...

View Article


New Post: Best way to move a view from one region to another?

What is the best way to move a view from one region to another? I want to keep the same View and not reload in another region.

View Article

New Post: Prism 4.2 Errors with Prism Library Solution

I've downloaded and installed Prism 4.1 and the Prism 4.2 for .Net 4.5, where I have copied the contents of source.zip into my unpacked folder (which is where Prism 4.1 was installed). I've followed,...

View Article

New Post: Best way to move a view from one region to another?

Based on my understanding, you would like to move an active View from one Region to another, and erase it from the first one. Therefore, you could use a button to fire a moveView command and then, the...

View Article

New Post: Best way to move a view from one region to another?

Thanks for replying! Yeah this is great, just I am using the navigation journal. How is it best to correct the state of this? I only seem to have a clear on the journal rather than just remove the last...

View Article


New Post: Handling NavigationFailed

Anyway you could set a flag of some sort to throw these error's normally? It has turned into a bit of a mess in my application wiring and un-wiring these events everywhere as it has grown more complex....

View Article

New Post: Scoped Regions in TabControls

Hello? Any feedback on this?

View Article


New Post: Prism 4.2 Errors with Prism Library Solution

Hi, The issue you are facing is related to having the new downloaded source code on the same folder location that Prism 4.1 was before. By doing this, the solution would find the old Prism 4.1...

View Article

New Post: Prism 4.2 Errors with Prism Library Solution

Thanks Gabriel, I did exactly that later in the day and all is well, I should have posted that so consider my wrists slapped, but appreciate your reply :)

View Article


New Post: Best way to move a view from one region to another?

Hi james, Based on my understanding, the clear method of the Navigation Journal would not completely help you as it would erase every View in the corresponding Region. However, you would be able to...

View Article

New Post: Handling NavigationFailed

Hi James, Based on my understanding Prism 4.2 would not have changed this behaviour yet. as the following download site describes the list of updates performed.Prism 4.2 for .NET 4.5 However, the...

View Article

New Post: Handling NavigationFailed

Thank you! It appears I must have already voted on this unfortunately and not remembered. How would I go about modifying the library? Any chance of an example?

View Article
Browsing all 1878 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>