I host a windows form control in wpf WindowsFormsHost in .net4.5 wpf, like
<Grid MouseDown="Grid_MouseDown" Background="#FFE85050">
<WindowsFormsHost HorizontalAlignment="Left" Height="244"
VerticalAlignment="Top" Width="335"
MouseDown="WindowsFormsHost_MouseDown">
<ctrl:UserControl1 x:Name="aa" MouseClick="aa_MouseClick"/>
</WindowsFormsHost>
</Grid>
the aa_MouseClick fires correctly but WindowsFormsHost_MouseDown and Grid_MouseDown never fires(the windows form control eat the event), how can I fix this problem?
My purpose is create a window hwnd to render something, but not care about the event here is the solution that I am now using