namespace Terminal.Gui; /// /// A single tab in a . /// public class Tab : View { private string _displayText; /// /// The text to display in a . /// /// public string DisplayText { get => _displayText ?? "Unamed"; set => _displayText = value; } /// /// The control to display when the tab is selected. /// /// public View View { get; set; } /// /// Creates a new unamed tab with no controls inside. /// public Tab () { BorderStyle = LineStyle.Rounded; CanFocus = true; } }