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