New Post: Module with style throw exception
Hi, Based on my understanding of your description, it seems you have a Module that uses a style contained in its own App.xaml file. If this is the case, the problem you are experiencing could be...
View ArticleNew Post: Nested Regions
Hi, I'm using Prism-Mef, i have RegionB which is nested inside RegionA When i declare: IRegion regionB= regionManager.Regions[RegionNames.RegionB]; i got the exception:The region manager does not...
View ArticleNew Post: Nested Regions
Hi, Based on your description it seems that the cause of the exception is that you are searching for the RegionB in the main region manager instead of the scoped one: The RegionB is a scoped region...
View ArticleNew Post: Nested Regions
Hi Damian, Thanks for your quick response. i have the following method in ControllerB in ModuleB which is triggered by EventAggregator to add ViewB="TestPacksView" in RegionB="TestPackGridRegion" which...
View ArticleNew Post: prism-unity how to passed data to viewmodel class
Hi everyone, I have question on passed data to viewmodel. I have controller base abstract class who provides virtual generic method: protected virtual void ActivateView<T>(string regionname,...
View ArticleNew Post: View is not showing in region
Hi friends out there. In my WPF application i am facing very strange problem which i was not facing in silverlight.I am adding view and add view in region. below is my code IViewsCollection viewcoll =...
View ArticleNew Post: Custom DirectoryModuleCatalog couldn't get all the Modules -Prism
My application has 4 modules inherited from ModuleBase which implements IModule, I'm using a custom sorting routine for the modules via making a custom DirectoryModuleCatalog. Here is some...
View ArticleNew Post: WPF & Prism 4.1 Garbage Collection / Memory Issues
I built a Prism application using WPF, .Net 4, Prism 4.1, and Unity. I'm using a DirectoryModuleCatalog to find modules at runtime. My views are displayed in a TabControl (MainRegion). When I remove a...
View ArticleNew Post: Prism-MEF: Tabbed Interface Hell
Hi, I'm struggling with the following scenario and i don't now if Prism is capable of accomplishing it or not? I have the following scenario: ShellWindow: contains 1-NavigationRegion: contains tow tabs...
View ArticleNew Post: prism-unity how to passed data to viewmodel class
Hi, Based on the code snippets you provided, I believe that a possible solution for your problem could be, before activating the view, passing the viewModelData parameter to a SetViewModelData method...
View ArticleNew Post: View is not showing in region
Hi, Based on my understanding, foreach statements should not modify the collection which is being iterated, since that could end up in an unexpected behaviour. For that reason, I think that a possible...
View ArticleNew Post: Custom DirectoryModuleCatalog couldn't get all the Modules -Prism
Hi, I am not familiar with the module catalog / module loader you are mentioning, but as a possible approach I believe we could start by checking if the cause of this behavior is related to the modules...
View ArticleNew Post: WPF & Prism 4.1 Garbage Collection / Memory Issues
Hi, So far I couldn't find the cause of this problem reviewing the code snippets you posted above. Also, I am unable to see the graph you linked below (I just sent you a access request for it). Based...
View ArticleNew Post: Region manager is empty
Hi I have a strange problem, that i can't figure it out.. I am building a composite WPF application using prism. for that i am using UnityBootstrapper for using the UnityContainer, and using Region...
View ArticleNew Post: Prism-MEF: Tabbed Interface Hell
Hi, Based on my understanding of your problem, I think that a possible solution for both cases could be subscribing to the event raised when the active view changes in the MainRegion . This way, when...
View ArticleNew Post: Region manager is empty
Hi, Several users in the past had reported incompatibility issues between Prism regions and DevExpress controls. In this case, I believe the problem could be related to the fact that some DevExpress...
View ArticleNew Post: Nested Regions
Hi, Based on my understanding, you have to access the RegionManager attached to the ViewA view in order for this code to work. If you know in which region the ViewA is injected, a quick workaround for...
View ArticleNew Post: WPF & Prism 4.1 Garbage Collection / Memory Issues
Hi Damian, I got a little further in my discovery process of the actual issue. Our solution is structured like so:InfrastructureShell (main app project)TabControl moduleModuleAModuleBModuleC Menu...
View ArticleNew Post: Microsoft Unity 2.1 for Silverlight 5 ?
Does anybody from the p&p team knows, if there will be ever a version of Unity compilied agains SL5? The library Microsoft.Practices.Unity.Silverlight is still using the mscorlib of 2.0. If I'm...
View ArticleNew Post: WPF & Prism 4.1 Garbage Collection / Memory Issues
Here's the link to one of my test solutions. Click the close button and notice that the View and ViewModel remain in memory. The list in my modules viewmodel generates 16mb worth of list<string>...
View Article