View Issue Details

IDProjectCategoryView StatusLast Update
0002631NoesisGUIUnitypublic2023-06-21 20:36
Reporterstonstad Assigned Tosfernandez  
PrioritynormalSeverityfeature 
Status assignedResolutionopen 
Product Version3.2 
Summary0002631: Add x:Shared Support
Description

I'd like to use x:Shared so that I can share this grouping of paths across different UIs. Each instance has a different parent, and for this reason sharing should be disabled.

<Viewbox x:Key="colonists_svg" Stretch="Uniform" x:Shared="False">
    <Canvas Width="40" Height="40">
        <Path Fill="#ffffff" Data="M18.7944 5C14.347 5 10.7417 8.60533 10.7417 13.0527V18.5144C10.7417 19.4916 11.3742 20.3564 12.3054 20.6526C16.5273 21.9951 21.0616 21.9951 25.2834 20.6526C26.2147 20.3564 26.8472 19.4916 26.8472 18.5144V13.0527C26.8472 8.60533 23.2418 5 18.7944 5ZM17.3851 7.81858C14.1608 7.81858 11.5469 10.4324 11.5469 13.6568C11.5469 16.8812 14.1608 19.495 17.3851 19.495H20.2036C23.428 19.495 26.0418 16.8812 26.0418 13.6568C26.0418 10.4324 23.428 7.81858 20.2036 7.81858H17.3851Z"/>
        <Path Fill="#ffffff" Data="M26.4443 12.2476C27.3338 12.2476 28.0549 12.9686 28.0549 13.8581V15.4687C28.0549 16.3581 27.3338 17.0792 26.4443 17.0792V12.2476Z"/>
        <Path Fill="#ffffff" Data="M11.144 12.2476C10.2546 12.2476 9.5335 12.9686 9.5335 13.8581V15.4687C9.5335 16.3581 10.2546 17.0792 11.144 17.0792V12.2476Z"/>
        <Path Fill="#ffffff" Data="M12.8727 11.4248C12.5394 12.0974 12.3521 12.8552 12.3521 13.6567C12.3521 16.4363 14.6054 18.6897 17.385 18.6897H20.2035C22.9831 18.6897 25.2364 16.4363 25.2364 13.6567C25.2364 12.8552 25.0491 12.0974 24.7157 11.4248H12.8727Z"/>
        <Path Fill="#ffffff" Data="M26.6057 21.1333C23.9895 23.7495 13.7927 23.9533 10.9939 21.1545C8.06326 22.5315 6 25.5088 6 29.0113V31.0001L31.6993 32.0001V29.0363C31.6993 27.696 31.3972 26.4327 30.8601 25.3067L29.3928 27.8481L27.7236 26.8844L29.6882 23.4816C29.5437 23.3087 29.3927 23.1416 29.2356 22.9806L26.3012 28.0631L24.632 27.0994L27.7238 21.7443C27.3677 21.5143 26.9941 21.3098 26.6057 21.1333ZM15.0208 28.7089L12.6134 28.7356C11.5645 28.7356 11.1737 28.1583 11.1737 27.2256L11.1396 25.5606L16.2795 25.5232L16.2638 27.1267C16.2638 27.9579 15.8757 28.7089 15.0208 28.7089Z"/>
    </Canvas>
</Viewbox>
PlatformAny

Activities

stonstad

stonstad

2023-06-21 19:59

reporter   ~0008562

I have it working with DataTemplates... but I can't help wonder if it would be easier to just set x:Shared:"False". Please feel free to close.

Issue History

Date Modified Username Field Change
2023-06-21 19:45 stonstad New Issue
2023-06-21 19:59 stonstad Note Added: 0008562
2023-06-21 20:36 jsantos Assigned To => sfernandez
2023-06-21 20:36 jsantos Status new => assigned
2025-10-10 13:29 jsantos Category Unity3D => Unity