Table of Contents

Property Canceled

Namespace
Terminal.Gui.Views
Assembly
Terminal.Gui.dll

Canceled

Helper property that gets whether the dialog was canceled (Result is null or 1).

public bool Canceled { get; }

Property Value

bool

Remarks

Returns true if Result is null (user pressed Escape or closed the dialog without pressing a button) or if any button other than the last one was pressed.