做项目时SemanticZoom出现边框。
解决过程:
找到SemanticZoom控件,编辑副本,查看样式,看到如下样式:
<Style x:Key="SemanticZoomStyle1" TargetType="SemanticZoom">
<Setter Property="Padding" Value="3"/>
......
原来是padding默认是3,
把padding修改为0(可以在样式里面修改,也可以在直接赋值即不添加样式,直接修改),问题解决。
FlipView出现边框的原因类似(margin默认为3),但是必须在样式内修改,原因是这个默认为3的margin在Template里面。