Is there a way to share resources in a Silverlight library project?

In a silverlight application, you have an App.xaml, but in a Silverlight library, you don't. I've tried using generic.xaml, but I think it 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 use throughout the library.

0


source to share


1 answer


Have a look at the Silverlight Toolkit SharedResources.cs file , it is a bit of a hack but might help in your scenario.



This is not the same as using XAML resources, but it can help you access images and other built-in content types.

0


source







All Articles