Table of Contents

Method OnActivated

Namespace
Terminal.Gui.Views
Assembly
Terminal.Gui.dll

OnActivated(ICommandContext?)

Called when the View has been activated. This is called after Accepting has been raised and not cancelled.

protected override void OnActivated(ICommandContext? ctx)

Parameters

ctx ICommandContext

The event arguments.

Remarks

When a MenuItem activation completes (arrives via bridge as Bridged), this determines whether to hide or show submenus based on the source MenuItem.