/// <summary> /// Initializes a new instance of the <see cref="DockedTabControl"/> class. /// </summary> /// <param name="parent">Parent control.</param> public DockedTabControl(ControlBase parent) : base(parent) { Dock = Pos.Fill; titleBar = new TabTitleBar(this); titleBar.Dock = Pos.Top; titleBar.IsHidden = true; }
/// <summary> /// Initializes a new instance of the <see cref="DockedTabControl"/> class. /// </summary> /// <param name="parent">Parent control.</param> public DockedTabControl(Base parent) : base(parent) { Dock = Pos.Fill; m_TitleBar = new TabTitleBar(this); m_TitleBar.Dock = Pos.Top; m_TitleBar.IsHidden = true; }
/// <summary> /// Initializes a new instance of the <see cref="DockedTabControl"/> class. /// </summary> /// <param name="parent">Parent control.</param> public DockedTabControl(ControlBase parent) : base(parent) { Dock = Dock.Fill; m_TitleBar = new TabTitleBar(this); m_TitleBar.Dock = Dock.Top; m_TitleBar.IsCollapsed = true; AllowReorder = true; }