Method OnMenuClosing
OnMenuClosing(MenuBarItem, bool, bool)
Virtual method that will invoke the MenuClosing.
public virtual MenuClosingEventArgs OnMenuClosing(MenuBarItem currentMenu, bool reopen, bool isSubMenu)
Parameters
currentMenuMenuBarItemThe current menu to be closed.
reopenboolWhether the current menu will be reopened.
isSubMenuboolWhether is a sub-menu or not.