【发布时间】:2019-12-23 12:49:16
【问题描述】:
我在我的 ASP.NET WPF 项目中遇到问题,边框内的图像超出了边框限制。按照下面我的代码:
<Border CornerRadius="20" Grid.Column="0" Grid.Row="0" >
<Button HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch">
<Image Source="{Binding ImagePath}" />
</Button>
</Border>
【问题讨论】:
-
@Andy 这个答案不准确,但无论如何谢谢。我找到了另一个解决方案
标签: c# asp.net wpf image cornerradius