Method OnMenuOpening
OnMenuOpening(MenuBarItem)
Virtual method that will invoke the MenuOpening event if it's defined.
public virtual MenuOpeningEventArgs OnMenuOpening(MenuBarItem currentMenu)
Parameters
currentMenu
MenuBarItemThe current menu to be replaced.
Returns
- MenuOpeningEventArgs
Returns the MenuOpeningEventArgs