我想擺脫按鈕邊框,只顯示文本,但是即使我將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