I have a ListBox that displays variable height elements. I want to show as many elements as fit in free space without showing a vertical scrollbar. Besides the operation in the ListBox item template, is there a way to show only the number of items that will fit without scrolling?
source
share