MahApps / mahapps.com

New web site for MahApps.Metro
https://mahapps.com
MIT License
19 stars 32 forks source link

MetroFlatButton in 2.0.0 #6

Closed igorkis-scrts closed 3 years ago

igorkis-scrts commented 4 years ago

Hello! It looks like that MetroFlatButton moved or got name change treatment since 2.0.0 alpha version. What is new way to reference it?

This is what i'm using now:

BasedOn="{StaticResource MetroFlatButton}"
timunie commented 4 years ago

Hi @igorkis-scrts The Keys changed to be more clear. It should be MahApps.Styles.Button.Flat now. see also https://github.com/MahApps/MahApps.Metro/wiki/Release-2.0.0#resource-keys

Happy coding Tim

igorkis-scrts commented 4 years ago

@timunie Thanks for quick answer!

This issue is solved, but i have similar problems with other things. Is there any resource browser (i'm not experienced in WPF) to see all styles?

timunie commented 4 years ago

If you use VisualStudio 2019 you have Intellisense for the Keys. The only other way is to have a look in the source and the draft release notes.

timunie commented 4 years ago

You can also ask us on gitter instead of creating issues

Join the chat: https://gitter.im/MahApps/MahApps.Metro