//把图片设置为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>