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)
Syntax public TabData 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:
TabDataThe new tab we created - contains the panel and the button to switch it.
See Also