Can we calculate the gap bettwen ChildWindow and ParentWidnow?

While I can Drag arround the ChildWindow there is a Distance from the Top and Left.

WHile I try to get the Distance using:

```
ChildWindow.Margin 

```

it is returning 0,0,0,0

Is there any other method to get the Distance bettwen ChildWindow and ParantWindow?