Event NotifyStopRunState | Terminal.Gui v2 (original) (raw)

Namespace

Terminal.Gui

Assembly

Terminal.Gui.dll

Notify that an existent RunState is stopping (End(RunState) was called).

public static event EventHandler<ToplevelEventArgs>? NotifyStopRunState

Returns

EventHandler<ToplevelEventArgs>

Notify that an existent is stopping ( was called).

Remarks

If EndAfterFirstIteration is true callers to Begin(Toplevel)must also subscribe to NotifyStopRunState and manually dispose of the RunState token when the application is done.

Edit this page