I'm trying to position a WPF dialog window on the top left corner of the current screen. However, I do not know how to get those coordinates for any other screen than the primary one. For the primary screen Top and Left would be 0. However, for any other screen I would need to know the offset. I could have a second or even third screen. To make things more complicated: Those other screens could (in theory) be positioned to the left, top or below the primary screen.
I did some research but was not able to find a solution. Could someone please point me to the right direction?