Example #1
0
 /// <summary>
 /// Initializes a new instance of the TabPage class.
 /// </summary>
 public TabPage()
 {
     Dock         = DockStyle.Fill;
     TabStripItem = new TabStripItem();
 }
Example #2
0
 private TabPage?GetPageFromTab(TabStripItem item) => item.Tag as TabPage;
Example #3
0
 private TabPage GetPageFromTab(TabStripItem item) => (TabPage)item.Tag;
Example #4
0
 /// <summary>
 /// Initializes a new instance of the RibbonTabPage class.
 /// </summary>
 internal RibbonTabPage(string text, Ribbon owner)
 {
     Groups       = new RibbonItemGroupCollection(this);
     TabStripItem = new TabStripItem(text);
     Owner        = owner;
 }