Table of Contents

Property IsModal

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

IsModal

Gets whether this runnable session is at the top of the RunnableSessionStack and thus exclusively receiving mouse and keyboard input.

bool IsModal { get; }

Property Value

bool

Remarks

Read-only property derived from stack state. Returns true if this runnable is at the top of the stack (i.e., this == app.TopRunnable), false otherwise.

The runnable at the top of the stack gets all mouse/keyboard input and thus is running "modally".