I'm having a problem with a particular layout scenario, and how it interacts with a left mouse click in certain situations.
I have 3 rows in a Grid. The first is a ListView (Master), with the Row Height set to '*'. It's ItemSource is bound to a collection in a ViewModel, and its SelectedItem is bound to a value in the ViewModel. When the SelectedItem is null, it should
take up its entire container (the other 2 rows are invisible).
The second row is the GridSplitter. It's visibility is bound to a value in the ViewModel. It's only visible when the SelectedItem in the Master ListView is not null. It's GridRow height is set to Auto, and it's height is explicitly set
to 5 (via a style).
The third row is a sub-ListView that shows Detail data for the Master SelectedItem in the top ListView. It's GridRow Height is set to zero by default, and if an item is selected in the Master ListView, it should become visible and have a set height
(400 to start, via a binding on the Height of the row).
The desired effect is that when an item is selected in the Master ListView, the Detail ListView becomes visible and the GridSplitter allows you to resize the top and bottom as needed. If necessary, the ScrollBars become visible in the Master ListView
to show any items that are now obscured by the Detail ListView (via the automatic scrolling featur
View Complete Post