Table of Contents

Property CommandsToBubbleUp

Namespace
Terminal.Gui.ViewBase
Assembly
Terminal.Gui.dll

CommandsToBubbleUp

Gets or sets the list of commands that should bubble up to this View from unhandled SubViews. When a SubView raises a command that is not handled, and the command is in the SuperView's CommandsToBubbleUp list, the command will be invoked on the SuperView.

public IReadOnlyList<Command> CommandsToBubbleUp { get; set; }

Property Value

IReadOnlyList<Command>

Remarks

e.g. to enable Activate bubbling for hierarchical views:

menuBar.CommandsToBubbleUp = [Command.Activate];