Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mahapps title bar change color when application lost focus

I define Title bar color:

<Controls:MetroWindow
...

WindowTitleBrush="Red"

But when the application lost focus this color always changed into Gray, is it possible to stop it ?

like image 463
mark yer Avatar asked Jan 29 '26 14:01

mark yer


1 Answers

Use the property NonActiveWindowTitleBrush on the Metro Window. This is assuming that you are using a newer version of MahappsMetro.

like image 68
Diabeteman Avatar answered Jan 31 '26 07:01

Diabeteman



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!