Table of Contents

Method OnVisibleChanging

Namespace
Terminal.Gui.App
Assembly
Terminal.Gui.dll

OnVisibleChanging()

Called when the Visible property is changing. Handles layout and focus management.

protected override bool OnVisibleChanging()

Returns

bool

true to cancel the visibility change; otherwise, false.

Remarks

When becoming visible: Lays out the popover to fit the screen.

When becoming hidden: Restores focus to the previously focused view in the view hierarchy.