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

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 Article


New Post: Commanding Problem on ListView Context Menu

C# customize ListView at design time

View Article


New 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 Article

New 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 Article

New 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 Article


New 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 Article

New 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 Article

New 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 Article


New 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 Article


New 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 Article

New 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 Article

New 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 Article

New 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 Article


New Post: Module initialization problem

This helps me a lot! It works well! Thank you!

View Article

New 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 Article


New 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 Article

New 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 Article


New 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 Article

New 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 Article

New Post: Seeing ViewModel Properties when Binding

Yes, that is exactly what I was trying to explain. Thanks for the help.

View Article
Browsing all 1878 articles
Browse latest View live


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