Events in Windows Forms PopupMenu

29 Apr 20211 minute to read

The PopupMenu control supports the following events,

  • BeforePopup
  • Collapse
  • ParentBarItemChanged
  • Popup


The BeforePopup event helps to provide the mouse position of the context menu. It gets fired before the popup menu is shown in display.


The Collapse event will be invoked when popup menu is closed.


The ParentBarItemChanged event will be invoked whenever the ParentBarItem properties like Text, Image, Font gets changed.

The Popup event will be invoked after menu is displayed.