I\'m currently working on a WPF application and I don\'t find how to make my application in full screen. I am using MahApps.Metro so my mainwindow\'s type is Controls.MetroW
I can reproduce your issue. You should report it as a bug Here
Simple workaround for now could be:
Keep your xaml the same as you got to:
and in the Window's code-behind:
public MainWindow() {
InitializeComponent();
Loaded += OnLoaded;
}
private void OnLoaded(object sender, RoutedEventArgs routedEventArgs) {
WindowState = WindowState.Maximized;
ResizeMode = ResizeMode.NoResize;
ShowMaxRestoreButton = false;
ShowMinButton = false;
Loaded -= OnLoaded;
}
This will give you the behavior you want. We pretty much set the state(maximized), hide min/max buttons with the Loaded event and only do it once.