Table of Contents

Enum CommandRouting

Namespace
Terminal.Gui.Input
Assembly
Terminal.Gui.dll

Describes how a Command is being routed through the view hierarchy. Replaces the ad-hoc boolean flags IsBubblingUp and IsBubblingDown with a single discriminated enum.

public enum CommandRouting

Fields

Bridged = 3

The command is crossing a non-containment boundary via CommandBridge.

BubblingUp = 1

The command is propagating upward through the SuperView chain.

Direct = 0

Direct invocation (programmatic or from this view's own bindings).

DispatchingDown = 2

A SuperView is dispatching downward to a specific SubView.