I have an application which has a similar interface to Visual Studio, in that there's a list of documents that can be opened, edited an saved. Each document can be of different types and has different editors.
I also have a general Save MenuItem. What I want to do is have the Save command only save the active document. Is there a stand...
How do I go about testing Composite WPF applications?
I was looking at the Composite Application Library and the Stock Trader reference implementation for examples, but I don't understand how their tests are organized.
I have several modules that are compiled to DLLs and referenced by my main shell. What do I need to do to test the ind...
I have a Silverlight 2 application that has a "Loading Data..." message that contains an animation. When the web service returns the data and the data is loading in to an observable collection -- the animation freezes (this can be for for several seconds while the data is loading and give the impression that something moght be wrong.)
T...
I've got a WPF application which uses the MVVM pattern throughout, no code-behind, the ViewModels communicate with each other through the MainViewModel which gets injected into each of them.
Eventually, this application needs to be incorporated into an application which uses Composite Application Library, Unity, etc. Looking through the...
I did some googling and didn't find an answer to this puzzle.
Provided you have the following:
MySuperView
MySuperViewModel
MySuperView has two textboxes both bound to string properties on the ViewModel
and your using a DelegateCommand to bind your 'Save' button to the ViewModel using syntax such as:
ViewModel:
this.SaveOrderComm...
Hi
I'm trying to use the new Silverlight 3 deep linking feature to try to drive a PRISM based application "from the outside", i.e, by using the browser url. The url would be used as a hint to know which PRISM module to load.
So, I have a region hosted inside a SL3 Frame which is adapted by a custom region adapter I built. All the views...
Hello,
Using Prism, I have implemented a View, Model and Presenter much like the StockTraderRI project. My issue is that I am trying to databind a stackpanel to an ObservableCollection object but no strings are being displayed.
Here’s my code:
PresentationModel code:
public InfoBarPresentationModel(IInfoBarView view, IEventAggreg...
I need to be able to specify a command to run when the SelectionChanged event fires. I already know how to implement the ICommandSource interface; what I need to know is how I can just add a command to the column series to handle the SelectionChanged event.
When I inherit from the ColumnBarBaseSeries<...> base class I have to override ...
Official Websites
Composite Application Guidance for WPF and Silverlight
patterns & practices: Composite WPF and Silverlight
Articles
Composite Web Apps With Prism
Podcasts
PRISM for Silverlight - Connected Show
Videocasts
SlickThought.Net - Jeff Brand
dnrTV
Brian Noyes on Prism
Brian Noyes on Prism Events and Commands
...
Hi, I have a wpf composite application with 3 or 4 modules that will always be loaded. In my shell I have a toolbar with buttons to active corresponding views from these modules. I injected an IEventAggregator into the shell presentor so that when a button is pressed I can publish an event that the corresponding module controller has sub...
Hi girls and guys!
I recently looked into Prism (aka the Composite Application Library for WPF) and really like the way I can structure my apps with it.
However there is one downside that I just couldn't resolve. Is it possible to bind a command (from a ViewModel for instance) to an Event (for example: RightMouseButtonDown) via Prism?...
In the modularity quick start (http://msdn.microsoft.com/en-us/library/dd490828.aspx) there is enough details on delay loading a type from an assembly in a xap file.
Is there any way an assembly can be delay loaded using Prism for Silverlight, if it is not embedded in the xap?
...
Looking at the Prism and Caliburn frameworks as a WPF newbie, what are their relative strengths and weaknesses?
...
Is there an equivalent of Microsoft's Prism EventAggregator for Java?
...
This used to work fine under SL3 beta, but after I upgraded to SL3 RTM, the functionality stopped working.
In order to reproduce, just open and compile the ViewInjectionComposition solution in Quick starts. the tab header that used to display "Current Projects", now is empty.
has anyone else encountered the same problem?
...
When I try to publish an event in my Customer Module, it doesn't work (the subscriber does not receive the object, displays nothing):
public class CustomersRegister : IModule
{
private static IRegionManager regionManager;
private static IRegion region;
private static CustomersMainView view;
private s...
Can anyone explain the difference between this way of loading modules in Prism:
protected override void InitializeModules()
{
IModule customerModule = Container.Resolve<CustomerModule.CustomerModule>();
IModule helloWorldModule = Container.Resolve<HelloWorldModule.HelloWorldModule>();
customerModule.Initialize();
helloW...
I am currently working on a SilverLight 3 Application. I am using MVVM Pattern and Prism. I have everything working except the following item. On one of my views I have to use an OpenFileDialog. I attempted to do this in the ViewModel only to find out the security model of SilverLight prohibits it because it is only allowed to be use...
Does anyone know of WPF code examples using Prism in which modules each register themselves as a menuitem in a menu within another module?
(I've currently got an application which tries to do this with the EventAggregator, so one module listens for published events from other modules which need to have their title in the menu as a menu ...
In the Prism Commanding_Desktop QuickStart solution, in the OrderModule, it defines a variable to the following:
this.container.Resolve<OrdersEditorPresentationModel>()
but where is this being registered so that it can be "resolved" out of the container? I see below where OrdersRepository is being registered, but I find no where in th...