Category / Section
How to prevent a context menu from closing when a MenuItem is clicked in WinForms PopupMenu?
1 min read
CloseOnClick
To prevent the context or popup menu from closing while clicking on a menu item the CloseOnClick property has to be set as False.
C#
this.popupMenu1.ParentBarItem.CloseOnClick = false;
VB
Me.popupMenu1.ParentBarItem.CloseOnClick = False
Sample: https://help.syncfusion.com/support/samples/KB/Tools.Windows/TClose/Close.zip