How can I set single line scroll with mouse wheel event?

3 posts, 0 answers
  1. Bekir
    Bekir avatar
    16 posts
    Member since:
    Sep 2010

    Posted 30 Jun Link to this post

    Hello,

    I use RadListView in ListView mode. Each tic of mouse wheel, the RadListView scrolling three lines (rows).

    I want to scroll only one line. How can I  do this?

    Kind regards.

  2. Hristo Merdjanov
    Admin
    Hristo Merdjanov avatar
    710 posts

    Posted 04 Jul Link to this post

    Hi Bekir,

    Thank you for writing.

    The scrolling behavior using the mouse wheel is determined by the value of the static System.Windows.Forms.MouseWheelScrollLines property. In order to alter the default implementation, you would need to use a custom RadListView control.

    I am sending you attached a sample project and a short video showing the result on my end.

    I hope this helps. Should you have further questions please do not hesitate to write back.

    Regards,
    Hristo Merdjanov
    Telerik
    Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms. For more information check out this blog post and share your thoughts.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Bekir
    Bekir avatar
    16 posts
    Member since:
    Sep 2010

    Posted 04 Jul Link to this post

    Hi Hristo,

    Thank you for your response.

    This sample solved my issue.

    Regards...

Back to Top