MaterialDesignInXAML / MaterialDesignInXamlToolkit

Google's Material Design in XAML & WPF, for C# & VB.Net.
http://materialdesigninxaml.net
MIT License
15.03k stars 3.41k forks source link

MetroWindow Border has different color than the Title background #1537

Closed ahmediddma closed 4 years ago

ahmediddma commented 4 years ago

MetroWindow Border has the accent color but the Title background has the primary color all should be the primary color

Keboo commented 4 years ago

This is the default behavior of a MetroWindow. For your app, you are free to override it to be the primary color if you wish. On your Window you would set it up like (assuming MaterialDesign version 3.0.0 and MahApps version 2.0.0)

<controls:MetroWindow ...
                      GlowBrush="{DynamicResource MahApps.Brushes.Highlight}"
                      BorderBrush="{DynamicResource MahApps.Brushes.Highlight}"
...>