首页 > 代码库 > WPF图片模糊之解决方案

WPF图片模糊之解决方案

<Style TargetType="{x:Type Image}"> 
<Setter Property="RenderOptions.BitmapScalingMode" Value="NearestNeighbor"/>
<Setter Property="UseLayoutRounding" Value="true"/>
</Style>

 

WPF图片模糊之解决方案