I\'m using the WPF Shell Integration Library to create a custom chrome of my wpf app. All is good, but when maximizing the app, 6 or 7 pixels are out of the screen.
To solve the issue of the window getting out of the screen simply set:
this.ResizeMode = System.Windows.ResizeMode.NoResize;
See JAPF's "Set up the main window of your WPF project" post for more info.