Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Annoying auto scroll of partially displayed items in WPF ListBox

$
0
0
Problem: I havea ListBoxwith items having differentheights.When I clickon an itemthat is partiallyvisible jumps(scrolls)the elementuntil it is completelyvisible.I click onabutton,then the clickeventisnot executed becauseitscrollsfirst.Or ifa combo boxis selected then it scrolls theListBoxandcomboboxentries are displayedat theprevious location.
Conditionof theListBox: ScrollViewer.CanContentScroll= "True"

Beat Wuethrich


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>