property ExContextMenu.CloseOnClick as CloseOnClickEnum
Gets or sets a value that specifies whether the context menu is closing.

TypeDescription
CloseOnClickEnum A CloseOnClickEnum expression that specifies how the user can close the context menu.
By default, the CloseOnClick property is exCloseOnNonClickable, and it means that the context menu is closed once the user clicks a regular item with no sub menus, check or radio buttons. Use te CloseOnClick property to specify how the user can close the context menu. The Select method returns the identifier of the last clicked item. Use the Item's CloseOnClick property to specify a different way to close the menu when user clicks a specified item.