Stop scrolling to next page in document with PDFViewWPF

I think that you may be able to change this without changes to PDFNet.

Did you try to attach your own MouseWheelEventHandler to PDFViewWPF.GetScrollViewer().Content?

GetScrollViewer() returns standard WPF ScrollViewer:

PDFViewWPF attaches its own handler to

PDFViewWPF.GetScrollViewer().Content.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this, PDFViewWPF.OnContentMouseWheel);

so I assume that you can do the same to override the default behavior.

Sounds good :slight_smile: