using System.Text.Json.Serialization; namespace Terminal.Gui; /// /// The is a that by default is centered and contains /// one or more s. It defaults to the Colors.ColorSchemes ["Dialog"] color scheme and has a /// 1 cell padding around the edges. /// /// /// To run the modally, create the , and pass it to /// . 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 /// . /// public class Dialog : Window { // TODO: Reenable once border/borderframe design is settled /// /// Defines the default border styling for . Can be configured via /// . /// //[SerializableConfigurationProperty (Scope = typeof (ThemeScope))] //public static Border DefaultBorder { get; set; } = new Border () { // LineStyle = LineStyle.Single, //}; private readonly List