我想摆脱按钮边框,只显示文本,但是即使我将borderThickness设置为0并将borderbrush设置为透明,文本周围的细线也会显示出来。为保存按钮 alt text http://i45.tinypic.com/scywye.png摆脱WPF中的按钮边框?
我的XAML代码:
<Button Content="save" Name="btnSaveEditedText"
Background="Transparent"
Foreground="White"
FontFamily="Tw Cen MT Condensed"
FontSize="30"
Margin="-280,0,0,10"
Width="60"
BorderBrush="Transparent"
BorderThickness="0"/>
反正我有可以摆脱按键边框?
短劈:'<按钮了borderThickness = “0” 形式= “{StaticResource的{X:静态ToolBar.ButtonStyleKey}}”>',从[相似柱](http://stackoverflow.com/questions/995757/how-do-you-completely-remove-the-button-border-in-wpf) – 2014-12-10 09:24:49