Skip to main content

ContextMenuItemBuilder.CloseMenuOnClick Method

Name Parameters Description
CloseMenuOnClick(JS) value Specifies if a menu is closed when a user clicks the item. Does not apply to the root items. Mirrors the client-side closeMenuOnClick option.
CloseMenuOnClick(Boolean) value Specifies if a menu is closed when a user clicks the item. Does not apply to the root items. Mirrors the client-side closeMenuOnClick option.