Issue ScrollViewer With NumericUpDown mouse wheel

2 posts, 1 answers
  1. Steve
    Steve avatar
    50 posts
    Member since:
    Apr 2013

    Posted 13 Jun 2013 Link to this post


    I'm implemented NumericUpDown in ScrollViewer after changing value with mouse wheel ScrollViewer Scrolled.

  2. Answer
    Kalin avatar
    1189 posts

    Posted 17 Jun 2013 Link to this post

    Hi Steve,

    One way not to scroll the NumericUpDown and the ScrollViewer at the same time is to handle the MouseWheel event of the NumericUpDown and set the Handled property to true. This way the user will be able to scroll only the control while mouse is over it. Please see the code snippet below:
    private void RadNumericUpDown_MouseWheel(object sender, MouseWheelEventArgs e)
        e.Handled = true;

    Hope this helps.


    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft R3 2016 release webinar banner
Back to Top