We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

metro studio icon shared in static resources

Hello,
How to define onlyonce an icon made in Meto Studio in an UWP application?
I use Metro Studio application to generate icons. I would like to use the same onein several pages in my application as shown here. so I copied the icon code in resources dictionnary but I have a XBF 0x09c4 error when building.
the error seems to come from the 'shared' property
x:shared="false" 
Maybe a best way could be to usecontroltemplate ? PathIcon?
Thanks for your help,
Regards,
Thibault

1 Reply

MS Mariappan S Syncfusion Team February 10, 2016 12:52 PM UTC

Hi Thibault,

The solution which we have provided in the provided link is for WPF platform. UWP platform doesn’t support x:shared property. So, We have created a work around sample to show the Metro Studio icon in multiple places. In this sample we have add Metro Studio icon in the Template of ContentControl.

Please download the sample from the below link

Sample link: Sample


Regards,
Mariappan S.

Loader.
Live Chat Icon For mobile
Up arrow icon