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:
sender, MouseWheelEventArgs e)
Hope this helps.