Events in Windows Forms PopupMenu
29 Apr 20211 minute to read
The PopupMenu control supports the following events,
- BeforePopup
- Collapse
- ParentBarItemChanged
- Popup
BeforePopup
The BeforePopup
event helps to provide the mouse position of the context menu. It gets fired before the popup menu is shown in display.
Collapse
The Collapse
event will be invoked when popup menu is closed.
ParentBarItemChanged
The ParentBarItemChanged
event will be invoked whenever the ParentBarItem properties like Text, Image, Font gets changed.
Popup
The Popup
event will be invoked after menu is displayed.