We have a Main-Window containing a DockSite. That DockSite contains a Workspace with a StandardMdiHost.
We add our MDI-Child-Windows (DocumentWindows) to the DockSite and they are displayed as they should be.
Naturally those Child-Windows contain empty spaces, such as the empty space at the bottom of a DataGrid that has only a few lines, or simply the space in an empty row in a WPF-Grid.
If I click (left Mouse-Button) on one of these empty areas for some reason a ScrollViewer that ist part of the StandardMdiHost feels responsible for handling that event (Can be easily shown looking at the Events with Snoop.). The Child-Window looses focus. So basically it is like clicking through the Child-Window into the DockSite. With the TabbedMdiHost that doesn't happen, as it doesn't contain that ScrollViewer.
Is there a property in DocumentWindow, DockSite or the StandardMdiHost to prevent the Parent-Window handling clicks on the Child-Window? I have tried setting IsScrollingEnabled to false, hoping that might stop the ScrollViewer from interfering, but it didn't work.
Or is this a bug?
PS: I have just tried it with Build 15.1.622 and the behavior is still the same.
[Modified 4 years ago]