Dropshadow and border color issue – Mahapps Metro WPF


Using MahApps Metro theme VS2013 the screenhots/examples at the quickstart are not quite updated. you can have a border <controls:MetroWindowx:Class=”MahApps.Metro.Simple.Demo.MainWindow”xmlns=”http://schemas.microsoft.com/winfx/2006/xaml/presentation&#8221; xmlns:x=”http://schemas.microsoft.com/winfx/2006/xaml”xmlns:controls=”http://metro.mahapps.com/winfx/xaml/controls”Title=”MainWindow&#8221; Height=”200″Width=”600″BorderBrush=”{DynamicResource AccentColorBrush}”BorderThickness=”1″WindowStartupLocation=”CenterScreen”></controls:MetroWindow> or a glow border <controls:MetroWindowx:Class=”MahApps.Metro.Simple.Demo.MainWindow”xmlns=”http://schemas.microsoft.com/winfx/2006/xaml/presentation&#8221; xmlns:x=”http://schemas.microsoft.com/winfx/2006/xaml”xmlns:controls=”http://metro.mahapps.com/winfx/xaml/controls”Title=”MainWindow&#8221; Height=”200″Width=”600″GlowBrush=”{DynamicResource AccentColorBrush}”WindowStartupLocation=”CenterScreen”></controls:MetroWindow> or a drop shadow <controls:MetroWindowx:Class=”MahApps.Metro.Simple.Demo.MainWindow”xmlns=”http://schemas.microsoft.com/winfx/2006/xaml/presentation&#8221; xmlns:x=”http://schemas.microsoft.com/winfx/2006/xaml”xmlns:i=”http://schemas.microsoft.com/expression/2010/interactivity&#8221; xmlns:controls=”http://metro.mahapps.com/winfx/xaml/controls”xmlns:behaviours=”http://metro.mahapps.com/winfx/xaml/shared&#8221; Title=”MainWindow”Height=”200″Width=”600″ResizeMode=”CanResizeWithGrip”WindowTransitionsEnabled=”False” WindowStartupLocation=”CenterScreen”><i:Interaction.Behaviors><behaviours:BorderlessWindowBehaviorAllowsTransparency=”False” EnableDWMDropShadow=”True”/><behaviours:WindowsSettingBehaviour/><behaviours:GlowWindowBehavior/></i:Interaction.Behaviors> </controls:MetroWindow> Update EnableDWMDropShadow has been moved to MetroWindow in version 0.13 alpha (latest version) <controls:MetroWindowx:Class=”MahApps.Metro.Simple.Demo.MainWindow”xmlns=”http://schemas.microsoft.com/winfx/2006/xaml/presentation&#8221; xmlns:x=”http://schemas.microsoft.com/winfx/2006/xaml”xmlns:i=”http://schemas.microsoft.com/expression/2010/interactivity&#8221; xmlns:controls=”http://metro.mahapps.com/winfx/xaml/controls”xmlns:behaviours=”http://metro.mahapps.com/winfx/xaml/shared”&hellip; Read More Dropshadow and border color issue – Mahapps Metro WPF