WPF Button No Border No Background

前端 未结 2 900
时光说笑
时光说笑 2021-02-12 19:48

I just need a button so simple that it looks like a TextBlock. Some time ago I saw an answer on SO to style the button based on a static style for a button in a menu but I cann

2条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-12 20:44

    Is it maybe the style used for a button in a ToolBar that you're referring to? The ToolBar control overrides the Button style so they appear flat. You can apply that style to a button like this...

提交回复
热议问题