Table of Contents

Property ConsumeDispatch

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

ConsumeDispatch

If true, dispatching to the target consumes the command, preventing the original SubView from completing its own activation/acceptance. If false (default), the dispatch is a relay and the original SubView completes normally.

protected virtual bool ConsumeDispatch { get; }

Property Value

bool

Remarks

When true, the composite view owns the state mutation. The framework marks the command as handled after dispatch, stopping the originator. The composite's OnActivated/OnAccepted fires to perform the mutation.

When false (relay), the command is dispatched to the target but not consumed. The originator continues its own activation/acceptance.