/// <summary> /// Initializes a new instance of the <see cref="DockedTabControl"/> class. /// </summary> /// <param name="parent">Parent control.</param> public DockedTabControl(Control parent) : base(parent) { Dock = Pos.Fill; m_TitleBar = new TabTitleBar(this); m_TitleBar.Dock = Pos.Top; m_TitleBar.IsHidden = true; }
public void TestTabTitleBar() { var control = new TabControl(canvas); var title = new TabTitleBar(control) { Text = "TabTitleBar" }; GUI.Test(control, "TabTitleBar1"); }