开发者

How to merge resource files from other assemblies in Silverlight / wp7

开发者 https://www.devze.com 2023-04-10 11:34 出处:网络
In my app i need to merge the resource file from an开发者_高级运维externalassembly. Is it possible to do so? If the answer is yes please guide me to resolve this issue . Try this:

In my app i need to merge the resource file from an开发者_高级运维 external assembly. Is it possible to do so? If the answer is yes please guide me to resolve this issue .


Try this:

  <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/StyleResource.Styless;component/ButtonStyle.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>  
  </Application.Resources>
0

精彩评论

暂无评论...
验证码 换一张
取 消