Listbox scrollbar thumb changes size when content is variable height

后端 未结 3 515
轻奢々
轻奢々 2021-01-06 01:52

I have a ListBox with many objects displayed, each of which can be a variable height, based on the number of values each object has. See my previous question that was answer

3条回答
  •  执念已碎
    2021-01-06 02:31

    Set ScrollViewer.CanContentScroll="False" on the ListBox, this will disable what's called "logical scrolling", which does scrolling based on item count instead of height ("physical scrolling").

提交回复
热议问题