您好!
根据我的理解,我们可以这样做,请参考下面的代码:
XAML Code:
<Grid>
<Border BorderBrush="Black" BorderThickness="2" Width="200" Height="300">
<Grid Width="200" Height="300">
<Image Source="Resources/Smile.png"/>
</Grid>
</Border>
</Grid>
程序运行截图:

感谢您对MSDN的理解和支持!
圣诞快乐!
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.