Table of Contents

Event NotifyNewRunState

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Notify that a new RunState was created (Begin(Toplevel) was called). The token is created in Begin(Toplevel) and this event will be fired before that function exits.

public static event EventHandler<RunStateEventArgs>? NotifyNewRunState

Returns

EventHandler<RunStateEventArgs>
Notify that a new was created ( was called). The token is created in and this event will be fired before that function exits.

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.