Event handling in Usercontrol in winform

I have a usercontrol to represent a data grid view and use it in a form. I have a decorator for this kind of data grid that provides grouping functionality for this kind of data grid. Now all clicks on the cell, the event of changing the cell of the data grid, is first triggered, and then the grouper event. Is there a way to change the sequence of events?

+3
source share
1 answer

You need to unregister the event from the datagridview, attach the decorator and then re-register the event.

+1
source

Source: https://habr.com/ru/post/1764136/


All Articles