Table of Contents

Method OnIsModalChanged

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

OnIsModalChanged(bool)

Called after IsModal has changed. Override for post-activation logic.

protected virtual void OnIsModalChanged(bool newIsModal)

Parameters

newIsModal bool

The new value of IsModal (true = became modal, false = no longer modal).

Remarks

Default implementation does nothing. Overrides should call base to ensure extensibility.

Common uses: setting focus when becoming modal, updating UI state.