views:

278

answers:

1

In a silverlight application you have App.xaml, but in a Silverlight library you don't. I tried using generic.xaml but I think this serves the specific purpose of applying styles to all controls based on their type. In case, I just want a place to put things like paths or objects that I will reuse throughout the library.

A: 

Take a look at the Silverlight Toolkit's SharedResources.cs file, it's a little hacky but may help with your scenario.

It isn't the same as sharing XAML resources, but it may help you get access to images and other embedded content types.

Jeff Wilcox