To re-create problem add the following xaml:
<
UserControl x:Class="SLEllipseGeometryBug.Page"xmlns="http://schemas.microsoft.com/client/2007"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Width="400" Height="300">
<Grid x:Name="LayoutRoot" Background="White">
<Grid.Clip>
<EllipseGeometry RadiusX="100" RadiusY="100">
<EllipseGeometry.Center>
<Point X="50" Y="50"/>
</EllipseGeometry.Center>
</EllipseGeometry>
</Grid.Clip></Grid>
</
UserControl>
This does not compile and gives error:
Unkown element: Point [17: line Position: 44]
Seems the parser does not like setting Center on the EllipseGeometry in this manner....works fine in WPF and syntax should be fine for Silverlight as well
Simple workaround is:
<EllipseGeometry RadiusX="100" RadiusY="100" Center="50,50"/>