Metro Studio Export to XAML Compatible with Themes

Hi,

Would it be possible to export XAML resources dictionary from Metro Studio in this format, rather as Viewbox?

    <DataTemplate x:Key="Sharing">

        <Path

                       Data="M4.6000061,10.700008C7.1000061,10.700008 9.2000046,12.700007 9.2000046,15.299981 9.2000046,16.60003 8.7000046,17.700006 7.9000015,18.499992L7.8000031,18.600028 7.8000031,18.700004C9.1000061,22.200004,12.300003,24.799977,16.100006,25.400014L16.200005,25.400014 16.200005,25.99999C16.200005,27.100024,16.5,28.2,17,29.100024L17.100006,29.2 17,29.2C11.200005,28.900012,6.3000031,25.200002,4.3000031,19.999992L4.2000046,19.799979C1.8000031,19.600028 0,17.700006 0,15.299981 0,12.799982 2,10.700008 4.6000061,10.700008z M28.800003,5.9999972L28.900002,6.2000094C30.900002,8.6000329 32,11.700008 32,14.999993 32,19.299979 30.100006,23.100026 27.200005,25.700002L27.200005,25.900014 27.200005,26.100026C27.200005,28.600024 25.200005,30.7 22.600006,30.7 20.100006,30.7 18,28.7 18,26.100026 18,23.600026 20,21.499992 22.600006,21.499992 23.5,21.499992 24.400002,21.799979 25.200005,22.299979L25.300003,22.299979 25.5,22.100028C27.200005,20.200004 28.300003,17.700006 28.300003,14.900018 28.300003,12.900019 27.700005,10.999995 26.800003,9.4000207L26.900002,9.2999841C27.800003,8.4999963,28.5,7.4000212,28.800003,6.1000338z M22.5,0C25,-8.3889972E-08 27,1.9999991 27,4.6000348 27,7.1000334 25,9.2000085 22.400002,9.2000085 19.900002,9.2000085 17.800003,7.200009 17.800003,4.6000348L17.800003,4.4000226 17.600006,4.4000226C13.600006,4.4000226,10.100006,6.6000338,8.3000031,9.9000197L8.3000031,9.9999953 8.1000061,9.7999841C7.2000046,9.2000085,6.1000061,8.7999841,4.9000015,8.7999841L4.7000046,8.7999841 4.7000046,8.7000085C7,3.9999982 11.900002,0.60003629 17.600006,0.60003617 18.300003,0.60003629 19,0.60003629 19.700005,0.70001175L19.900002,0.70001175C20.600006,0.29998758,21.5,-8.3889972E-08,22.5,0z"

                       Fill="{Binding RelativeSource={RelativeSource Mode=Self}, Path=(TextBlock.Foreground)}"

                       RenderTransformOrigin="0.5,0.5"

                       Stretch="Uniform" />

    </DataTemplate>


3 Replies

SN Sudharsan Narayanan Syncfusion Team March 10, 2025 10:44 AM UTC

Hi Pawel kozak,

Yes, you can be able to export the XAML from metro studio. Please follow the below steps to export the icon details,

  1. Select the icon from metro studio.
  2. Edit the icon by pressing the edit button.
  3. Press the export option from below, it opens the file explorer window. 
  4. Now, change the "Save as type" as XAML and save the icon.
  5. Now, open the XAML file. You can show the details in Viewbox.

Please check the above steps, sample below. Please let us know your concerns, if you have any. We are happy to assist you.

Regards,
Sudharsan


Attachment: ButtonAdvIcon_460d88c9.zip


PK Pawel Kozak March 27, 2025 10:09 AM UTC

Thank you very much for the answer.



PK Pawel Kozak March 27, 2025 10:09 AM UTC

Thank you very much for the answer.


Loader.
Up arrow icon