Get rid of button border in WPF?
Posted
by sanjeev40084
on Stack Overflow
See other posts from Stack Overflow
or by sanjeev40084
Published on 2010-05-24T20:07:56Z
Indexed on
2010/05/24
20:11 UTC
Read the original article
Hit count: 334
i am trying to get rid of button border and only display text, however a thin line around the text gets displayed even though i set borderThickness to 0 and borderbrush to transparent.
my xaml code for save button:
<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"/>
Is there anyway i can get rid of the button border?
© Stack Overflow or respective owner