How can I make a WPF window maximized on the screen with the mouse cursor?
According to the MSDN documentation for the WindowStartupLocation Property : Setting CenterScreen causes a window to be positioned in the center of the screen that contains the mouse cursor. Although the MSDN doc for the CenterScreen Field itself defines it somewhat less clearly as: The startup location of a window is the center of the screen on which it is opened. A simple test shows this working as it should: MainWindow.xaml <Window x:Class="CenterScreenTest.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">