Table of Contents

Method DispatchDown

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

DispatchDown(View, ICommandContext?)

Dispatches a command downward to a SubView with bubbling suppressed. Creates a new CommandContext with Routing set to DispatchingDown, which causes TryBubbleUp(ICommandContext?, bool) to skip bubbling on the target, preventing re-entry.

protected bool? DispatchDown(View target, ICommandContext? ctx)

Parameters

target View

The SubView to dispatch the command to.

ctx ICommandContext

The original command context, used to determine the command and source.

Returns

bool?

The result of invoking the command on the target.