How can I automatically constrain the ListView Height without explicititly setting its Height property
Basically, I want my ListView to be part of a Grid with RowHeight set to a '*' value (and obviously the VerticalAlignment set to Stretch). But if I do that, then the ListView takes up as much Height as it has elements- and shows no Vertical Scroll Bar.
I've also tried putting the ListView in a DockPanel as the Last Child, and with the LastChildFill property set to true. The same thing happens then - the ListView height is unconstrained.
I'm using WinFX Beta 2
What is happening here
Thanks,
Sam
Visual Studio 200815
|