GeonBit.UI Documentation
PanelTabsAddTab Method |
Add a new tab to the panel tabs.
Namespace: GeonBit.UI.Entities
Assembly: GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)
![](SectionExpanded.png)
C#
public PanelTabsTabData AddTab( string name, PanelSkin panelSkin = PanelSkin.None )
Parameters
- name
- Type: SystemString
Tab name (also what will appear on the panel button). - panelSkin (Optional)
- Type: GeonBit.UI.EntitiesPanelSkin
Panel skin to use for this panel.
Return Value
Type: PanelTabsTabDataThe new tab we created - contains the panel and the button to switch it.
![](SectionExpanded.png)