WPF中设置Border的BorderThickness属性会让背景图片产生模糊感
1 <!--设置BorderThickness会让border的Background图片看起来有模糊感--> 2 <Border x:Name="border" 3 BorderBrush="{x:Null}" 4 BorderThickness="1" 5 Background="{TemplateBinding Background}" 6 RenderTransformOrigin="0.5,0.5"> 7 <Border.RenderTransform> 8 <TransformGroup> 9 <ScaleTransform/> 10 <SkewTransform/> 11 <RotateTransform/> 12 <TranslateTransform/> 13 </TransformGroup> 14 </Border.RenderTransform> 15 </Border>