Open andrijaantunovic opened 8 years ago
It's almost impossible to do that in WPF and it's not that necessary.
"Almost impossible to do", are you serious? If you just search for "wpf autoscroll" you'll find dozens of threads on stackoverflow and they all have very simple solutions:
It's also silly to say that it's not necessary because every program which lists items in real time has this feature. It's very useful for the user to see what's being captured in real time. Instead, the user now has to hold the scroll bar and wiggle the mouse around so that they can see the new incoming packets.
It's easy to do that with ScrollViewer
, but not with ListView
. ListView
itself has integrated ScrollViewer
which is not accessible. And since we used MVVM pattern, the only solution would be using behaviors.
A solution for ListView
is explained here:
http://dutton.me.uk/2013/08/13/auto-scrolling-a-wpf-listview-when-a-new-item-is-added/
Calling UIElement
and ScrollViewer
methods from that class causes threading problems.
I wonder will this ever be fixed.
I think the developer has abandoned this project :(
Is that what we get after being long-time users of this product 😞
When capturing packets, the packet window doesn't scroll automatically, which makes it impossible to see the capturing in real time at a glance.