Menu

#2 Implement a custom click event handler

closed
nobody
None
1
2006-10-10
2006-10-10
No

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.

Discussion

  • Davide Icardi

    Davide Icardi - 2006-10-10

    Custom click event handler

     
  • Davide Icardi

    Davide Icardi - 2006-10-10
    • status: open --> closed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.