WPF Clip属性

原文: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>

效果:如

定以后:如:

猜你喜欢

转载自blog.csdn.net/xionglifei2014/article/details/84999564
今日推荐