Class Dialog | Terminal.Gui v1 (original) (raw)
The DialogView is a Window that by default is centered and contains one or more Buttons. It defaults to the Dialog color scheme and has a 1 cell padding around the edges.
public class Dialog : Window, IDisposable, ISupportInitializeNotification, ISupportInitialize
To run the Dialog modally, create the Dialog, and pass it to Run(Func<Exception, bool>). This will execute the dialog until it terminates via the [ESC] or [CTRL-Q] key, or when one of the views or buttons added to the dialog calls RequestStop(Toplevel).