I have a WPF application and I need to know how to center the wain window programatically (not in XAML).
I need to be able to do this both at startup and in response
If you it to be maximized at once this.WindowState = System.Windows.WindowState.Maximized;