Class MenuOpeningEventArgs | Terminal.Gui v1 (original) (raw)
Namespace
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
MenuOpeningEventArgs
Inherited Members
object.ReferenceEquals(object, object)
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.