has used reuxable free themes, specially "inc.xaml"? if yes, can me this? sample downloaded nukeation using mercury.xaml
, works fine, when change inc.xaml, got errors. problem compiler not recognize style named 'incbutton'. below code have:
<!--app.xaml--> <application xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:class="geminisampleproject.app" startupuri="mainwindow.xaml"> <application.resources> <!-- resources scoped @ application level should defined here. --> <resourcedictionary> <resourcedictionary.mergeddictionaries> <resourcedictionary source="/reuxableslegacy;component/inc.xaml" /> </resourcedictionary.mergeddictionaries> </resourcedictionary> </application.resources>
//fragment of code fire error <button content="button" horizontalalignment="left" height="25" margin="33,16.08,0,0" verticalalignment="top" width="80" style="{staticresource incbutton}" />
i had same problem , think static resource "incbutton" not exist in inc.xml exist in mercery.xml.
my problem same static resource , checked in .dll file , find out resource existed in mercery not in inc.
br/ j
Comments
Post a Comment