I'm trying to use some of the icons from MetroStudio in a WP8 app and have hit a wall.
I've exported the icons I want to use as XAML and made them an application resource. In VS.Net and Blend I can use the following syntax:
<Button Content="{StaticResource CoolIcon}" />
and the button fills with the icon in design view. However, when I run the app on the emulator I get a XAML parse exception.
I've only found one mention of something that was remotely related on the internet so far, and it suggested that Silverlight 3 didn't allow binding to Geometry and Path elements. The workaround that post suggested did end up working in VS.Net/Blend and the emulator:
<Path Data="{StaticResource CoolIconPathData}"></Path>
and change the generated resource to
<System:String x:Key="CoolIconPathData">F1M2278.07,etc.etc.etc.</System:String>
I'm wondering if you guys can suggest a way I can bind to the .xaml that MetroStudio generates in my WP8 app without having to take this approach.