import{_ as e,a,b as r,ag as o}from"./chunks/framework.BcrMLAmg.js";const u=JSON.parse('{"title":"TabControl","description":"","frontmatter":{},"headers":[],"relativePath":"references/elements/TabControl.md","filePath":"references/elements/TabControl.md","lastUpdated":1757844696000}'),d={name:"references/elements/TabControl.md"};function n(l,t,i,b,s,c){return r(),a("div",null,t[0]||(t[0]=[o('

TabControl

The TabControl is a container that provides tabbed interface functionality

Extends: Container

Properties

PropertyTypeDefaultDescription
activeTabnumberThecurrently active tab ID
tabHeightnumberHeightof the tab header area
tabstableListof tab definitions
headerBackgroundcolorBackgroundcolor for the tab header area
activeTabBackgroundcolorBackgroundcolor for the active tab
activeTabTextColorcolorForegroundcolor for the active tab text

Functions

MethodReturnsDescription
TabControl:newTabtableCreates a new tab handler proxy
TabControl:setTabTabControlSets an element to belong to a specific tab
TabControl:addElementtableAdds an element to the TabControl and assigns it to the active tab
TabControl:setActiveTab-Sets the active tab
TabControl:setCursor-Sets the cursor position; accounts for tab header offset when delegating to parent

TabControl:newTab(title)

returns a proxy for adding elements to the tab

Parameters

Returns

TabControl:setTab(element, tabId)

Parameters

Returns

TabControl:addElement(elementType, tabId)

Parameters

Returns

TabControl:setActiveTab(tabId)

Parameters

TabControl:setCursor()

',27)]))}const m=e(d,[["render",n]]);export{u as __pageData,m as default};