Is it possible to adjust mouse wheel scroll distance on a WPF ScrollViewer? -
I think it's scrolling at a time when the mouse scroll wheel is used, I have a very The low ScrollViewer
(one row long) which contains some lines items in WrapPanel
, and it is scrolling in the bottom right of a "tick" that the middle line never appears Not giving up.
Not a solution, but you can add some pan with TNTT - one panel per line < / P>
The ScrollViewer class uses the IScrollInfo interface and has 2 methods.
((IScrollInfo myPanel) .LineUp (); // and LineDown ()
Add and method for the UIIlation. Mousevelged event and a rotation == One child of a panel
or you can use it
myScrollviewer .ScrollToVerticalOffset (offset);
Comments
Post a Comment