Implement a custom click event handler
Brought to you by:
davideicardi
In this example I add a click event handler to a column
header cell.
I created a new Controller (see MyController) derived
from ControllerBase and override the OnClick method.
Then I have created a new Column header cell (see
MyColHeader) derived from ColumnHeader to use the new
controller.
In the click event I simply call Debug.WriteLine, but
you can insert any code to execute your custom action.
Se attached file for the complete example.
Custom click event handler