Class TabHost

Tab Host control contains tabs known as TabPages. The tab strip can be aligned in different orientations

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(tabStripDirection?: TabStripDirection, displayCloseButton?: boolean): TabHost

Parameters

  • tabStripDirection?: TabStripDirection optional
  • displayCloseButton?: boolean optional

Returns

TabHost

Properties

public contentElement: HTMLDivElement

public displayCloseButton: boolean

public hostElement: HTMLDivElement

public pages: TabPage[]

public separatorElement: HTMLDivElement

public tabListElement: HTMLDivElement

public tabStripDirection: TabStripDirection

Methods

public onTabPageSelected(page: TabPage)

Set the selected TabPage.

Parameters

public resize(width: number, height: number)

Parameters

  • width: number
  • height: number

public setActiveTab(container: PanelContainer)

Parameters