Table of Contents

Property Result

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

Result

Gets or sets the result of the dialog, indicating which button was pressed.

public int? Result { get; set; }

Property Value

int?

Remarks

The value is the zero-based index of the button that was pressed, or null if the dialog was dismissed without a button press (e.g., via Escape key).

This property shadows the base Result property to provide explicit int? nullability for backward compatibility.