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}}" />
Advertisements
Posted in Tips and others

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow me
   RSS Feed    Twitter    Linked In

Write you email address to subscribe at this blog and to receive new posts by mail.

Join 567 other followers

Who I am?






%d bloggers like this: