Devexpress GridView MouseDown only work once

97 Views Asked by At

When I implement the MouseDown event of the GridView, after I click on one cell,the MouseDown event is called sucessfully,then I click on the same cell,the MouseDown event is not called,However I Click somewhere else and click back,it works.

private void view_MouseDown(object sender, MouseEventArgs e)
1

There are 1 best solutions below

0
On

You can use the PreviewMouseDown event. Events PreviewMouseDown and MouseDown use a different routing strategy. MouseDown - Bubbling. PreviewMouseDown - Tunneling.