Setting Button FlatStyle in WPF

后端 未结 2 1093
忘掉有多难
忘掉有多难 2020-12-02 07:16

I have just been learning about how styles and control templates in WPF can affect the appearance of buttons,

I\'m trying to set the Button\'s FlatStyle, in the reso

2条回答
  •  时光取名叫无心
    2020-12-02 08:00

    The ToolBar class defines a Style that makes Buttons look flat. An example of using it is:

    WPF lets you completely restyle controls to make them look like whatever you want, which is why it doesn't have such a specific FlatStyle property on the Button control.

提交回复
热议问题