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

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -