I need to know the position of a window that is maximized.
WPF Window has Top and Left properties that specifies the window\'s location. However, if you maximize the
Universal one line answer working for all monitors and all high DPI variants:
Point leftTop = this.PointToScreen(new Point(0, 0));
This for example returns (-8, -8) for a window which is maximized on a 1920 wide screen whose ActualWidth returns 1936.
Just a rant to the other answers: NEVER mix up logical 96 dpi WPF pixels (using double) with native real pixels (using int) - especially by just casting double to int!