What is the correct way to retrieve a window\'s position in WPF?
Here\'s some attempts I made. First attempt, the obvious
Point GetPosition(Window wi
Yes, awkward. You've got bigger problems, (0, 0) won't be valid even on the primary monitor if the user put the taskbar on the left or the top. Like I did. You can get help from the Windows Forms Screen class. Use its FromPoint() method, then the WorkingArea property. Or the Bounds property if you allow the window to go full-screen.
Personally, I'd just P/Invoke GetWindowRect().