This project is read-only.

Sharing resources between pages

Jan 2, 2009 at 8:50 PM

Have you thought about sharing resources between pages? How can it be done?

Alexey Zakharov.
Jan 4, 2009 at 6:00 PM
Not sure whether you are talking about Resources in the sense of Silverlight resource dictionaries or resources generally.

In the case of Resource Dictionaries I have not found a way to access these with pages that are loaded dynamically from a library.  In theory a resource dictionary defined in App.xaml or it's equivalent should be accessible throughout the application, but this only appears to be true for pages in the same assembly as App.xaml. 

In the case of general resources, I am not sure this should be the responsibility of NavFx you can create globally available objects at the Application level or your navigation code can use GetPage and set properties before displaying it.

I started a new job as Development Manager a few months ago and as you can probably tell I haven't had a lot of time to progress NavFx lately.