|
楼主 |
发表于 2015-1-29 13:34:19
|
显示全部楼层
<Grid xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<Canvas Margin="10" >
<Canvas.Resources x:Key = "path">
<PathGeometry>
<PathFigure IsClosed="True" StartPoint="100,120">
<ArcSegment Point="250,100" Size="100,300"/>
<ArcSegment Point="400,120" Size="100,300" SweepDirection="Clockwise"/>
</PathFigure>
</PathGeometry>
</Canvas.Resources>
</Canvas>
<Grid>
这个XAML 怎么加载进去呢 报错 'x' is an undeclared prefix. Line 3, position 27. 我是想外部加载Canvas.Resources ; 直接写的Xaml就可以啊 外部加载的则么不行呢 |
|