When we are supposed to use the PreviewMouseRightButtonDown
event instead of MouseRightButtonDown
while handling mouse right button events?
Please elaborate the ease of use.
There is no real difference between handling the PreviewMouseRightButtonDown
and MouseRightButtonDown
events except the timing of when each are called. Tunneling (Preview...
) events are always called before the corresponding Bubbling events.
However @nit is correct... there is much written information relating to this online and so it is not worth writing again about that here. Please read the WPF Input Events section of the Routed Events Overview page on MSDN for further information.