MouseWheel Events not Firing for a View

Topics: Prism v2 - WPF 3.5
Apr 2, 2010 at 1:26 AM

Hello All,

I have a UserControl-derived view. In that view, I try to register for the MouseWheel event:

this.MouseWheel += new MouseWheelEventHandler(TargetViewView_MouseWheel);

I put a handler in place and see that... it never gets called!

I don't know if this has anything to do with the Prism region / view architecture, so I'm not sure if this post belongs on this forum. But I want to see if anyone has come across mouse wheel problems in the Prism context before...




Apr 9, 2010 at 7:34 PM

Hi Dave,

We have tested a similar scenario and found that, as long as the mouse is standing on top of that view, the event is fired.

If you weren’t able to reproduce this, please send us a sample of your code for us to see what’s the problem.

I hope you find this helpful.

Guido Leandro Maliandi