I have Winforms control within a WPF WindowsFormsHost. The Winforms control is passive and must not handle any mouse event. Mouse events should be raised as usual from the most inner WPF control in the WPF visual tree, so the WindowsFormsHost (or the next one). But no event is triggered at all.
How should I configure the WindowsFormsHost, the Winforms control, in order to achieve this?
Remark: KeyDown and KeyUp behave as expected. But Mouse Events don't, as illustrated by the following Snoop screenshot:
Indeed the Winforms Control keeps the mouse event for himself and doesn't forward the event to its host. The solution is to subscribe to the winforms MouseDown event and generate programmatically the Routed Event.
I overrided the WindowsFormsHost as following and it rocks:
(remark: a behavior may be more flexible)