Table of Contents

Property Clicked

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Clicked

The index of the selected button, or -1 if the user pressed QuitKey to close the MessageBox. This is useful for web based console where there is no SynchronizationContext or TaskScheduler.

public static int Clicked { get; }

Property Value

int

Remarks

Warning: This is a global variable and should be used with caution. It is not thread safe.