ButchersBoy / Dragablz

Dragable and tearable tab control for WPF
http://dragablz.net
MIT License
2.17k stars 320 forks source link

Update the MahApps Styles to match MahApps v2.x #249

Open timunie opened 3 years ago

timunie commented 3 years ago

Hi @ButchersBoy

I really love your library and MahApps.Metro together. MahApps.Metro got many breaking changes with version 2.x. Almost every ResourceKey got a new name, for example:

more Info: https://mahapps.com/docs/guides/migration-to-v2.0

This makes now much more sense to the users, but makes the provided MahApps-Styles unusable if one updates MahApps.

How should we proceed here?

Thank you and happy coding Tim

josdemmers commented 3 years ago

@timunie Thanks for posting this here, had the same issue. Was able to create a new local MahApps.xaml resource using your link: https://mahapps.com/docs/guides/migration-to-v2.0

Not everything is working but at least I don't see any noticeable differences. https://pastebin.com/D7XuiP4h

Note: If anyone is planning to use this. I fixed it for the Dark.Green.xaml theme I was using. So it could be you need to make some small modifications to make it match your theme.