Updated Release: Prism 4.2 for .NET 4.5 (Jan 14, 2014)
This is the second drop for Prism 4.2. Please review the Readme.txt for installation instructions, what's new, and known issues.New in Feb 10th drop:Completed Items 11 and 12 below.New in this...
View ArticleNew Post: Commanding Problem on ListView Context Menu
C# customize ListView at design time
View ArticleNew Post: Prism+MEF+MVCVM: injecting viewmodel instance of the currently...
Hi Gabriel, sorry for being late due hard circumstances. your answer is ok just one thing: how to get reference to the VM of the current active view in the controller but without command triggering...
View ArticleNew Post: Exception "Activation error occured while trying to get instance of...
Hi, The observation you made is correct. RequestNavigate() call properly registers the View into the Region if it was not previously added. However, the problem may remain on the View registration into...
View ArticleNew Post: Generating new instance
I am trying to build up an array of objects, but when I use container.resolve<>(), it always uses the same instance, so I end up getting an array where the last object added is the same reference...
View ArticleNew Post: Generating new instance
Hi Mathius, You need to be careful on which BootStrapper are you using as the resolving default behaviour may change. For example, the default behavior of Unity returns a new instance each time, while...
View ArticleNew Post: Generating new instance
Weird. I am actually using the Unity boot strapper. Why would it be doing that then by default and how would I change it?
View ArticleNew Post: Installing 4.2 Beta
The package seems rather incomplete. I realise it's only beta, but e.g. not even RegisterPrismBinaries.bat is present, and the readme instructions for setting up still only refer to 4.1. I have built...
View ArticleNew Post: Module initialization problem
Hi, I develop a MEF application with Prism 4.5.1 and I have a problem with the initialization of modules. I use a DirectoryCatalog to load my modules. All works fine, but if I import IModuleManager to...
View ArticleNew Post: Generating new instance
Hi mathius,I wasn't really expecting that you were using Unity. Singleton type registration in Unity is achieved by explicitly setting a parameter of new ContainerControlledLifetimeManager() to the...
View ArticleNew Post: Generating new instance
All of my types are registered as follows this.container.RegisterType<IFAAVM, FAAVM>(new ContainerControlledLifetimeManager()); So that explains why it was happening that way. Thank you very...
View ArticleNew Post: Module initialization problem
Hi, Based on my understanding you would like a possible workaround in order to import the IModuleManager into the ShellViewModel and properly handle every published event from modules initialization....
View ArticleNew Post: Commanding Problem on ListView Context Menu
@Tinkerfa - And just how exactly is your article on a WinForms ListView relevant to WPF in general and to this question specifically? Your article makes no mention at all of ContextMenu. Pretty sad...
View ArticleNew Post: Prism+MEF+MVCVM: injecting viewmodel instance of the currently...
Hi jivara, I am afraid I don't completely understand the flow of your App. Based on my understanding, there would be some scenarios where the active View's ViewModel reference would be needed, but...
View ArticleNew Post: Seeing ViewModel Properties when Binding
This is for the new Prism 4.2, but not an item to selected below. I noticed there were some new features added in VS 2013 for XAML and binding. One was to be able to see the properties of item that was...
View ArticleNew Post: Load different modules in the same regions
Hi, I have created an application with one menu consisting of two menu items. My ShellView.xaml contains two regions: a LeftRegion and a MainRegion. Each menu loads different modules upon click on it....
View ArticleNew Post: Load different modules in the same regions
Hi abampakos, One possible way of doing this would be to register both Master Views in LeftRegion and both Edit Views in the MainRegion from each Module's Initialize() method. However, you would need...
View ArticleNew Post: Seeing ViewModel Properties when Binding
Hi shaggygi, I believe you wanted to say that Binding IntelliSense is still not working for you. Based on my understanding, there are a few things that need to be declared in order to make IntelliSense...
View ArticleNew Post: Seeing ViewModel Properties when Binding
Yes, that is exactly what I was trying to explain. Thanks for the help.
View Article