Get rid of button border in WPF?

后端 未结 4 2052
长情又很酷
长情又很酷 2020-12-03 05:33

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 t

4条回答
  •  南方客
    南方客 (楼主)
    2020-12-03 05:56

    Templates will not solve this problem, your only course of action is to modify the WPF control. The solution is here:

    How to remove ButtonChrome border (when defining the template of a border)?

提交回复
热议问题