This post isn’t so much to share any new found glory on WPF as it is a note to myself. I can never remember the syntax of basing a WPF style upon the existing default style.

For example I may want to create a default style for all of my buttons to have a background of “AliceBlue”

  

If I create another style it will not automatically pick up the default styles set above.

  

The fix is to specify the type as the resource key for the BasedOn property.

  

Notice that the middle button wont get the blue background

  Default
  New
  Override

Nothing new here!