I’m using <Match>
and <Case>
in the .ux and now it shows me that error.
This is the code:
<Image ux:Class="square">
<MultiDensityImageSource>
<FileImageSource File="images/square.png" Density="1"/>
<FileImageSource File="images/square@2x.png" Density="2"/>
<FileImageSource File="images/square@3x.png" Density="3"/>
</MultiDensityImageSource>
</Image>
<Image ux:Class="circle">
<MultiDensityImageSource>
<FileImageSource File="images/circle.png" Density="1"/>
<FileImageSource File="images/circle@2x.png" Density="2"/>
<FileImageSource File="images/circle@3x.png" Density="3"/>
</MultiDensityImageSource>
</Image>
.
.
.
<Panel>
<Match Value="{image}">
<Case String="square">
<square StretchMode="PixelPrecise" />
</Case>
<Case String="circle">
<circle StretchMode="PixelPrecise" />
</Case>
</Match>
</Panel>
Thanks!