Silverlight: Reference ResourceDictionaries in external DLL's -
Silverlight: Reference ResourceDictionaries in external DLL's -
i have few different solutions various different silverlight front end ends, 1 of contains silverlight project dedicated style resources. can imagine want break out own solution , reference gui solutions. in wpf reference mutual styles dll , utilize pack syntax load xaml resource files, in silverlight syntax not supported , cant find xaml files have been referenced in app.xaml resource dictionaries. has managed accomplish this?
jeremy likness wrote great article on using theme project. covers how dynamically load themes. used technique in couple of our silverlight projects great success.
i believe need merge style solution merged dictionary in app.xaml.
<application.resources> <resourcedictionary> <resourcedictionary.mergeddictionaries> <resourcedictionary source="/myapp.mythemeproject;component/theme.xaml"/> </resourcedictionary.mergeddictionaries> </resourcedictionary> </application.resources>
best practices themes in modular silverlight applications
silverlight
Comments
Post a Comment