WPF为图片添加倒圆角

//把图片设置为Border的背景
<Grid Width="973" Height="688"> <Border Name="Image_Game" Width="973" Height="688" BorderBrush="#FF2B9EC5" BorderThickness="4" CornerRadius="10"> <Border.Background> <ImageBrush ImageSource="GameImage/10001.png" /> </Border.Background> </Border> </Grid>

 

posted @ 2020-05-20 16:01  孤獨龍  阅读(605)  评论(0编辑  收藏  举报