prism-4 Questions

2

Solved

I am trying to navigate to the same view (same as the active one), but with new parameters. The problem is that I struggle to find a clean way to get a currently active view's name from RegionManag...
Latrinalatrine asked 9/9, 2013 at 13:26

4

Solved

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. App.xaml.cs public p...
Monacid asked 21/2, 2014 at 19:23

3

I am facing unknown problem while using Prism 4. We implement business solution in MVVM pattern. For that I have used 1. Microsoft.Expression.Interactions 2. System.Windows.Interactivity 3. G...
Monocycle asked 27/1, 2012 at 10:54

2

What I'm using: Visual Studio 2010 Microsoft .NET Framework 4 Prism v4 What I am trying to figure out is how to get started with Prism + MEF while maintaining the MVVM pattern. When I go into t...
Prisoner asked 9/2, 2011 at 16:39

2

Solved

I am trying to implement modal dialog in the WPF Prism Desktop application. From Prism guidance I can see that proper way should be using Interaction: <i:Interaction.Triggers> <prism:I...
Spoil asked 3/9, 2013 at 15:35

2

Solved

I have a WPF Desktop application using Prism 4, in my bootstrapper i have the following code : protected override IModuleCatalog CreateModuleCatalog() { var filepath = Assembly.GetExecutingAssemb...
Alienism asked 16/1, 2012 at 22:19

1

Solved

In my application,I am writing some values in application settings file. As i am working with prism I have some module and one shell project. After installing setup Case: 1 When i have not set co...
Reconstructionism asked 16/8, 2013 at 8:43

1

Solved

I am trying to refer to a MergedDictionaries.SharedStyles project which has all Styles that has to be used allover application. So here i have different styles under different folders as Resource D...
Slip asked 22/8, 2012 at 3:58

2

Solved

I'm trying to use a DataTemplate to create a Menu from my ViewModels with respect to MVVM. Basically, I've created several classes which will store information about my Menu structure. I then want ...
Merciless asked 29/2, 2012 at 16:14

1

Solved

I am using datatemplate to load my views using PRISM 4 discovery. I have a need to create the view/viewmodel multiple times rather than reuse existing instances so I set x:Shared=false in the resou...
Northwester asked 31/5, 2012 at 18:59

1

Solved

I'm developing a .NET 4.0 application using PRISM and MVVM, as well as WPF. I currently have a shell subdivided in regions, with views inserted in them. When the user clicks on a button in one of ...
Maltese asked 29/3, 2012 at 15:34

1

I've got a view that shows only a Label. The viewmodel is injected correctly in the view because the text of the label is bound to a viewmodel property. Now, if I try to define a DataGrid in the x...
Philo asked 13/1, 2012 at 15:27

2

Solved

Disclaimer: Prism Novice. I'm reading up furiously to make up for lost time though :) Context: I need to write automated acceptance tests for a WPF application built using Prism. Issues: I find t...
Christiachristian asked 5/12, 2011 at 9:50

3

Solved

I'm just wondering what the point of regions are. I guess I don't understand the problem they solve. For example, I see a lot of people using regions for a navigation region, but then why not just...
Latton asked 1/11, 2011 at 17:45

1

Solved

I need to use the styles in several modules in Silverlight application based on Prism 4. What is the best approach for this?
Chromo asked 9/9, 2011 at 12:44

2

Solved

I 'm fairly new to Prism and I 'm currently re-writing one of our existing applications using Prism as a proof of concept project. The application uses MVVM with a ViewModel first approach: our Vi...
Surrey asked 17/9, 2011 at 7:15

2

We are building a WPF Prism application. We have different developers working on different module projects, and multiple modules are injected into the main Application Shell. The main application i...
Aggi asked 13/9, 2011 at 20:45

1

Solved

How can I get the original DataContext of the UserControl inside of a ContextMenu. The code below, you can see that there is a Button in the DataTemplate, which binds correctly. However, when tryi...
Lashio asked 26/7, 2011 at 0:28

4

Solved

I downloaded Prism v4 and ran the installer. I went into the directory and ran the two following batch files: Desktop only - Open Modularity With Mef QuickStart.bat Desktop only - Open Modularity...
Sorb asked 2/12, 2010 at 21:43

3

I want to move on to WPF applications and convert my win-form apps(into WPF) At the moment there is too much to learn about WPF in order to get nice application... I found Prism : http://msdn.mic...
Nur asked 11/4, 2011 at 16:28

1

Solved

Integration into Prism was talked about in the 2.1.x time frame, we are @ 2.4.x, Prism 4 is out now and the RIStockTrader Example in /contrib is just a default XAML project. Should it work? If so,...
Nival asked 18/4, 2011 at 22:10

3

Solved

I'm using WPF4 and PRISM4 for my new project. There is a single module with several views in it. The DI is done with unity. When I navigate from ViewA to ViewB for the first time, the ViewB is cr...
Sherronsherry asked 25/2, 2011 at 9:17

1

Solved

I am building a demo app to learn the navigation features of Prism 4. The app has two modules--each one has three Views: A UserControl with a text block ("Welcome to Module A") A RibbonTab (using...
Mutinous asked 26/2, 2011 at 17:52

1

Solved

I am converting from Prism 2.1 to Prism 4, and I need to write an ILoggerFacade class for Log4Net. My old code from Prism 2.1 no longer works. Does anyone have sample code for an ILoggerFacade clas...
Acclamation asked 24/1, 2011 at 19:31
1

© 2022 - 2024 — McMap. All rights reserved.