Table of Contents

Method OnMenuOpening

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

OnMenuOpening(MenuBarItem)

Virtual method that will invoke the MenuOpening event if it's defined.

public virtual MenuOpeningEventArgs OnMenuOpening(MenuBarItem currentMenu)

Parameters

currentMenu MenuBarItem

The current menu to be replaced.

Returns

MenuOpeningEventArgs

Returns the MenuOpeningEventArgs