wpf flat button

前端 未结 5 1948
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-01 08:03

How to make a button flat style in wpf? I\'ve tried BasedOn property but it does not work.

5条回答
  •  一生所求
    2020-12-01 08:27

    To add to Eduardo's answer, this solution gets rid of any extra styling such as the border around the button if the thickness is set to 0.

    You can add extra styling as needed:

    
    

提交回复
热议问题