Scripting API

TabView

class in UnityEngine.UIElements · UnityEngine.UIElementsModule · inherits from VisualElement

11 of 20 of Unity's membersUnity's documentation
In Tassix

Tabs: a header row with each tab's header, and the selected tab's content below.

Constructors 1

Fields 3

static readonly string contentContainerUssClassName
static readonly string headerContainerClassName
static readonly string ussClassName

Properties 4

Tab? activeTab { get; set; }
VisualElement contentContainer { get; }
bool reorderable { get; set; }
int selectedTabIndex { get; set; }

Methods 2

Tab? GetTab(int index)
VisualElement? GetTabHeader(int index)

Events 1

event Action<Tab, Tab>? activeTabChanged

Not in Tassix yet 9

ReorderTab contentViewport nextButtonUssClassName previousButtonUssClassName reorderableUssClassName tabClosed tabReordered verticalUssClassName viewportUssClassName