When creating a WPF window with AllowsTransparency=\"True\" WindowStyle=\"None\"
and maximizing it via this.WindowState = WindowState.Maximized;
the Wi
A couple year late to the party but just increase your this.borderthickness
for the SizeChanged event like so:
....
Code
....
public void Window_SizeChanged(object sender, SizeChangedEventArgs e)
{
if (this.WindowState == WindowState.Maximized)
{
this.BorderThickness = new System.Windows.Thickness(8);
}
else
{
this.BorderThickness = new System.Windows.Thickness(0);
}
}