prism - Does the application_startup() get called for each silverlight application? -


I am using a template for the prism by David Hill and each application module has an App.xaml file. I was sure that the module that was loaded would create the app object (startup object in the properties) and then call the application_startup () event.

However, it does not seem like that? Is this the right behavior? If so, app for each app module. How do I define my resources (styles) in the XML file?

JD

I think this start-up (or "master" If you do), which is called the app_start event, you can include all your resources in the that application's App.xaml. But it is not necessary that a single file should be there, you can separate them using the merged resource dictionaries. You will find more information here:


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -