Questions tagged [prism-2]

28 questions
29
votes
6 answers

WPF MVVM dialog example

Does anyone have any examples of showing a window dialog using MVVM (Prism)? - for example a configuration settings window when a command is executed. All of the examples I've seen use the mediator pattern which is fine, but they also all have a…
Oll
  • 945
  • 1
  • 14
  • 23
11
votes
2 answers

WPF and Prism View Overlay

I need some help with overlaying views using the prism framework.Its a little more complexed than that so let me explain.I could be over-thinking this as well :D i have shell (wpf window) and i have 2 views(A & B - both usercontrols) in a…
Zaheer
  • 113
  • 1
  • 7
8
votes
1 answer

Proper implementation of NLog and Prism

What would be the best way to implement NLog in my Prism / CAL WPF application. This might be an amateur question, I am a bit new to the whole Prism framework :) I thought about putting the reference to the NLog dll in the Infrastructure module and…
Wilmar
  • 1,451
  • 13
  • 17
3
votes
1 answer

Prism 2.1 Publish/Subscribe with weak reference?

I am building a Prism 2.1 demo by way of getting up to speed with the technology. I am having a problem with CompositePresentationEvents published and subscribed via the Event Aggregation service. The event subscription works fine if I set a strong…
David Veeneman
  • 18,912
  • 32
  • 122
  • 187
2
votes
1 answer

Upgrade CAB and Prism 2 to Prism 4

We have several CAB and prism 2 applications which we plan to migrate to Prism 4. Has anyone any experiance with migration of CAB and/or Prism 2 applications to Prism 4? Are there any "gotchas" that we should be aware off? How would you estimate…
Shiraz Bhaiji
  • 64,065
  • 34
  • 143
  • 252
2
votes
1 answer

Getting started with Prism (Ent Lib v5) and building an app framework

Can anyone point me to any useful examples of an application framework being built using the newly released Enterprise Library 5? I have previously used v4.1 and after downloading the source for v5 and building - I'm not understanding how to…
Jason
  • 223
  • 3
  • 9
1
vote
2 answers

MouseDoubleClick event in View

How do I bind MouseDoubleClick event of wpfdatagrid in the view as I'm using mvvm and Prism 2.
Johnny
  • 1,555
  • 3
  • 14
  • 23
1
vote
2 answers

what's the difference between MVVM and Prism v2

what's the difference between MVVM and prism v2 design pattern to develop SL and WPF applications?
Jaffal
  • 21
  • 2
1
vote
1 answer

Changing Views Within a Prism Module?

So I have a PRISM v2 (M-V-VM) application up and running. It's 4 modules that load into a tab control. Great. Now my question is - where to go from here? Most tutorials seem to stop at this point. Maybe I'm overthinking this, but it almost seems…
ImPrismed
  • 11
  • 2
1
vote
1 answer

Composite WPF and AvalonDock

Has anybody tried PRISM and AvalonDock (latest release with DocumentSource property) together? I already had a look at http://www.youdev.net/post/2009/07/17/AvalonDock-Documents.aspx but it just briefs on how to use documentsource property. Please…
Vishal
  • 215
  • 4
  • 14
0
votes
1 answer

Shell-less UI in Prism

Is is possible to launch a Prism v4 application, skip the Shell initialization/creation/display, and display a specific module's view instead? For example, suppose I have a Prism app called app.exe. It has a Window class (Shell) that contains the…
0
votes
1 answer

WPF Prism (CAL) - Find all Subscriptions to the EventAggregator on any event

Is there any way of looking at all the subscriptions contained within the EventAggregator for all Events? Theres only a .GetEvent method off the EventAggregator ... but I'd just like to see all subscriptions that are contained within it ...…
Andy Clarke
  • 3,234
  • 5
  • 39
  • 66
0
votes
1 answer

WPF - PRISM (CAL) - automated functional testing

I'm currently new in a project that was started 1 year ago. This project is using C#, WPF, PRISM (CAL), Entity Framework, LINQ, etc. The application is done using the MVVM pattern. There are some unit tests, but I was asked to do functional…
Nicolas
  • 1,482
  • 2
  • 19
  • 35
0
votes
1 answer

Visual Studio 2010: Project Linker - I still don't understand it's purpose

Project Linker: Synchronization Tool -- I have read this and still don't understand what the point of it actually is. Oh, and I tagged this with prismv2 because it seems to have some association to it.
myermian
  • 31,823
  • 24
  • 123
  • 215
0
votes
1 answer

Sort ItemsControl Prism v2.2 Region without a bound collection?

Is there a way to sort the views that get added to a ItemsControl region? The views being added are registered with the container and added to the region in each unique module. Some pseudo code... Shell:
droidalmatter
  • 324
  • 4
  • 10
1
2