Class MenuOpeningEventArgs | Terminal.Gui v2 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
An EventArgs which allows passing a cancelable menu opening event or replacing with a newMenuBarItem.
public class MenuOpeningEventArgs : EventArgs
Inheritance
MenuOpeningEventArgs
Inherited Members
Constructors
MenuOpeningEventArgs(MenuBarItem)
Initializes a new instance of MenuOpeningEventArgs.
Properties
Flag that allows the cancellation of the event. If set to true in the event handler, the event will be canceled.
The current MenuBarItem parent.
The new MenuBarItem to be replaced.