Table of Contents

Event IsRunningChanged

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

Raised after IsRunning has changed (after the runnable has been added to or removed from the RunnableSessionStack).

public event EventHandler<EventArgs<bool>>? IsRunningChanged

Returns

EventHandler<EventArgs<bool>>
Raised after has changed (after the runnable has been added to or removed from the ).
Implements

Remarks

Subscribe to this event to perform post-state-change logic. When Value is true, the runnable has started and is on the stack. When false, the runnable has stopped and been removed from the stack.

This event follows the Terminal.Gui Cancellable Work Pattern (CWP).