Class MenuOpeningEventArgs | Terminal.Gui v1 (original) (raw)

Namespace

Terminal.Gui

Assembly

Terminal.Gui.dll

An EventArgs which allows passing a cancelable menu opening event or replacing with a new MenuBarItem.

public class MenuOpeningEventArgs : EventArgs

Inheritance

object

EventArgs

MenuOpeningEventArgs

Inherited Members

EventArgs.Empty

object.ToString()

object.Equals(object)

object.Equals(object, object)

object.ReferenceEquals(object, object)

object.GetHashCode()

object.GetType()

object.MemberwiseClone()

Constructors

MenuOpeningEventArgs(MenuBarItem)

Initializes a new instance of MenuOpeningEventArgs.

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.

NewMenuBarItem

The new MenuBarItem to be replaced.

Edit this page