Can anyone explain how to add a click event to an item, the documentation is literally lacking EVERYTHING. Thanks for your concern!
how to add a click event to item of KryptonContextMenu?
376 views Asked by kfcalf At
1
Can anyone explain how to add a click event to an item, the documentation is literally lacking EVERYTHING. Thanks for your concern!
You can do this in one of two ways:
Using code (just like you'd do with any other event):
Using the designer. You can't do by double-clicking the item (like what you'd do with a regular
ToolStripMenuItem) because the item isn't exposed to the designer. So, you'll have to go to the Properties window, select the item from the dropdown, click the Events button ⚡, find the event, and double-click that: