Table of Contents

Method OnMenuClosing

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

OnMenuClosing(MenuBarItem, bool, bool)

Virtual method that will invoke the MenuClosing.

public virtual MenuClosingEventArgs OnMenuClosing(MenuBarItem currentMenu, bool reopen, bool isSubMenu)

Parameters

currentMenu MenuBarItem

The current menu to be closed.

reopen bool

Whether the current menu will be reopened.

isSubMenu bool

Whether is a sub-menu or not.

Returns

MenuClosingEventArgs