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.
Unfortunately, activation email could not send to your email. Please try again.

metro studio icon shared in static resources

Thread ID:

Created:

Updated:

Platform:

Replies:

121930 Feb 9,2016 11:42 AM Feb 10,2016 07:52 AM UWP 1
loading
Tags: General
Thibault
Asked On February 9, 2016 11:42 AM

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

Mariappan S [Syncfusion]
Replied On February 10, 2016 07:52 AM

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.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;