API ReferenceSandbox.UI

TabPanelclass

A tab bar and pages. Inactive pages remain alive; removing a tab deletes its page.

object→Panel→TabPanel
Namespace
Sandbox.UI
Assembly
Sandbox.Engine
Declaration
public class Sandbox.UI.TabPanel : Sandbox.UI.Panel

Constructors1

Showing 1 constructors

Methods1

Showing 1 methods

public Sandbox.UI.Tab AddTab(string text, Sandbox.UI.Panel content, string icon = null, bool canClose = False, System.Nullable`1<int> count = null)PUBLIC

ParameterTypeDescription
textstring—
contentPanel—
icon = nullstring—
canClose = Falsebool—
count = nullNullable<int>—
Returns:Tab—

Properties2

Showing 2 properties

public Sandbox.UI.TabBar Sandbox.UI.TabPanel.TabBar { get; set; }PUBLICGETSET

The shared bar. Configure reordering, closing and selection here.

Returns:TabBar—

On this page