WPF Tips: How to set a FlatStyle to a button?

If, like me, you would like to apply a FlatStyle to a WPF button, add a style property like this (this style is include in the standard Microsoft ToolBar):

<Button Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" />

Leave a Reply

Your email address will not be published. Required fields are marked *