I have a WPF ListView within a ScrollViewer.
I need to collapse the ListView and I am trying withthis code (pretty striaghtoforward):
this.myListView.Visibility = Visibility.Collapsed;
Problem is the ListView seems to be reserving the space even when collapsed - it disappears but the ScrollViewer doesn't accordingly resize.
Anything I am missing?
Any Help appreciated