Table of Contents

Class MenuClosingEventArgs

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

An EventArgs which allows passing a cancelable menu closing event.

public class MenuClosingEventArgs : EventArgs
Inheritance
MenuClosingEventArgs
Inherited Members

Constructors

MenuClosingEventArgs(MenuBarItem, bool, bool)

Initializes a new instance of MenuClosingEventArgs.

Properties

Cancel

Flag that allows the cancellation of the event. If set to true in the event handler, the event will be canceled.

CurrentMenu

The current MenuBarItem parent.

IsSubMenu

Indicates whether the current menu is a sub-menu.

Reopen

Indicates whether the current menu will reopen.