MahApps / MahApps.Metro

A framework that allows developers to cobble together a better UI for their own WPF applications with minimal effort.
https://mahapps.com
MIT License
9.32k stars 2.45k forks source link

How to reference resources like AccentColorBrush in the 2.0 prerelease? #3411

Closed rabejens closed 5 years ago

rabejens commented 5 years ago

I am using MahApps.Metro prerelease 2.0.0-alpha0170 but cannot figure out the namespace / path of things like AccentColorBrush.

Where is it?

punker76 commented 5 years ago

@rabejens The accent and theme brushes will be now generated on every build. It's a breaking change, because they are now located at a different place. The Wiki is updated, documentation will come.

rabejens commented 5 years ago

I just see adding Background="{DynamicResource AccentColorBrush}" to e.g. a label works, it compiles and runs but I get a blue squiggly in the WPF designer. How do I make that go away?