PanelTabs.AddTab Method

GeonBit.UI

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