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

How make ScrollIntoView keep a ListItem fully in view?

$
0
0
I’m using ScrollIntoView to keep ListItem visible when moved up or down a list. This mostly works, i.e. the ListBox scrolls up or down. However, it seems always to be one row off where it needs to be! Can someone explain why is this, and how to ensure a ListItem is fully in view? 

Gouranga Gupta :-)



Viewing all articles
Browse latest Browse all 18858

Trending Articles



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