WPF window with custom chrome has unwanted outline on right and bottom
问题 I have created a WPF window with custom chrome using the Microsoft.Windows.Shell dll. Here is the code for that: <Style TargetType="Window" x:Key="ChromeLessWindowStyle"> <Setter Property="shell:WindowChrome.WindowChrome"> <Setter.Value> <shell:WindowChrome GlassFrameThickness="0" ResizeBorderThickness="5" CornerRadius="5" CaptionHeight="30"> </shell:WindowChrome> </Setter.Value> </Setter> <Setter Property="WindowStyle" Value="None"/> <Setter Property="Template"> <Setter.Value>