/// <summary> /// Default constructor. /// </summary> public VerticalTabControl() { // Create tab pages collection this.tabPages = new VerticalTabPageCollection(this); // Initialize splitter line control tabSplitterLine = new Label(); tabSplitterLine.Text = String.Empty; tabSplitterLine.Visible = false; tabSplitterLine.BorderStyle = BorderStyle.FixedSingle; this.Controls.Add(tabSplitterLine); this.SetStyle(ControlStyles.ResizeRedraw, true); }