This is due to the fact that child control inherit the DataContext
of their parent if their DataContext
is not set explicitly. This is true for some of the DependancyProperties
e.g if you set the Foreground of parent control all the child control inherit the same value of Foreground property.
In your case, as you have not set the DataContext
explicitly for the child UserControl, it will take the DataContext of its parent, which is your Window here.