property PopupMenu.CloseOnClick as Boolean
Specifies whether the control is closed when user clicks.

TypeDescription
Boolean A boolean expression that indicates whether the control is closed when user clicks the menu.

Use the CloseOnClick event to specify whether the menu is closed when user clicks the menu.