Questions tagged [prism-2]
28 questions
0
votes
1 answer
Changing Modules location in specific region
I've Prism App with some regions.
In one specific region there are some views from different modules. By default the views appears in region according to registration order. I want to change the order appearance of views so that view from module c…

yossharel
- 1,819
- 2
- 23
- 29
0
votes
1 answer
Integrating Legacy UI with PRISM
We are currently developing Sliverlight 4.0 based web application using PRISM 4.0 for Sliverlight 4.0. This web UI is a composite application consists of Legacy UI developed by some 3rd party and in-house developed UI.
Can someone suggest how to…

TheITGuy
- 635
- 3
- 9
- 19
0
votes
1 answer
Help on WPF Databinding to ViewModel Property (Prism)
Greetings guys,
hopefully somebody has fresher eyes and can help me pinpoint the problem here, I'm trying to create a small app with prism and the MVVM pattern, everything was working nicely up to this point, my commands are firing properly with the…

Geo
- 3
- 1
- 2
0
votes
1 answer
How to remove Region and add new ContentControls from Module
I've set only one region in Shell "LoginRegion"

Jeaf Gilbert
- 11,495
- 19
- 78
- 105
0
votes
1 answer
How to passing parameter to constructor when Resolve a View..?
my View constructor:
public View1(IRegionManager regionManager, IUnityContainer container, bool myParam)
{
}
How to set myParam when I do Resolve()? Thank you.

Jeaf Gilbert
- 11,495
- 19
- 78
- 105
0
votes
1 answer
Added view does not appear on screen
Why my "mainRegion.Activate(view);" doesn't display the view on screen?
It only works if I remove the default view that registered (RegisterViewWithRegion) in ModuleInit.cs though I don't put .Activate() after I added a View. But a problem occurs if…

Jeaf Gilbert
- 11,495
- 19
- 78
- 105
0
votes
1 answer
PRISM View Injection/Navigation in Same Module
This is ModuleInit.cs in Products module
public class ModuleInit : IModule
{
private readonly IUnityContainer _container;
private readonly IRegionManager _regionManager;
public ModuleInit(IUnityContainer container, IRegionManager…

Jeaf Gilbert
- 11,495
- 19
- 78
- 105
0
votes
2 answers
mvvm - prismv2 - INotifyPropertyChanged
Since this is so long and prolapsed and really doesnt ask a coherent question:
1: what is the proper way to implement subproperties of a primary object in a viewmodel?
2: Has anyone found a way to fix the delegatecommand.RaiseCanExecuteChanged…

ecathell
- 1,030
- 13
- 25
0
votes
1 answer
Adding Prism Module as Silverlight class library
I'm building a silverlight project based on the Prism 2.1 version.
Added a shell
Added a silverlight class library (Module A)
Added a reference of module A to the shell
Added ModuleA in the bootstrapper to the Prism ModuleCataloge
Every thing is…

Wasim
- 1,915
- 5
- 24
- 39
0
votes
1 answer
Prism ModuleDependency ModularityException
I am creating a simple Prism 2.1 demo that uses the 'directory search' approach to populating the module catalog. My shell is set up with a Windows Explorer UI; it has a Navigator region and a Workspace region. I have created a NavigatorModule and…

David Veeneman
- 18,912
- 32
- 122
- 187
0
votes
1 answer
Silverlight Prism - Loading module(s) after successful login/dependencies between modules
I have a Silverlight Prism application that includes a toolbar module with login controls. I currently have a module in the main region set to InitializationMode.OnDemand in the Bootstrapper and can load it via ModuleManager.LoadModule() after a…

Andy Dyer
- 506
- 6
- 20
0
votes
1 answer
Using scatterview as a region with Prism throws an exception
I'm playing around with Surface and I'm trying to use a scatterview as a module region.
What happens is that when I run the app, a exception is…

Bruno Shine
- 1,021
- 1
- 9
- 17
0
votes
5 answers
Prism V2 not working with Silverlight 3.0
I am currently doing a silverlight application with Prism v2. But when I am adding the reference dlls two dlls are not recoganised.
Microsoft.Practices.ServiceLocation.dll &
Microsoft.Practices.Unity.dll
Can any one give a solution for this?

Sauron
- 16,668
- 41
- 122
- 174