原文:https://blog.csdn.net/feitiankoulan/article/details/25199639
WPF 中FrameworkElement对象有一属性Clip,定义为区域剪裁,在未给定Clip属性值前,代码如:
<Image Name="image1" Source="/百叶窗;component/Images/图片%20%282%29.jpg" Height="311" HorizontalAlignment="Left" Stretch="Fill" VerticalAlignment="Top" Width="422">
</Image>
效果:如
定以后:如: