Skip to content

Class: TabControlProxy

TabControlProxy is a developer-facing class that provides access to a BottomnNvigation and Tabs and its items for application specific customizations.

Hierarchy

Implements

Summary

Constructors

Properties

Class Properties

Currently none in this class.

Inherited Properties

Accessors

Class Accessors

Inherited Accessors

Methods

Class Methods

Inherited Methods

Constructors

Constructor

+ new TabControlProxy(context: IContext): TabControlProxy

Overrides ControlProxy.constructor

Parameters:

Name Type
context IContext

Returns: TabControlProxy

Accessors

tabItems

Get Signature

getter

Returns

IControlProxy[]

list of items in the tab control

Implementation of ITabControlProxy.tabItems

Methods

getItemCaption

getItemCaption(tabItemName: string): string

Implementation of ITabControlProxy.getItemCaption

Parameters:

Name Type
tabItemName string

Returns: string

tab item caption based on tab item name


getSelectedTabItemIndex

getSelectedTabItemIndex(): number

Implementation of ITabControlProxy.getSelectedTabItemIndex

Returns: number

selected tab item index


getSelectedTabItemName

getSelectedTabItemName(): number

Implementation of ITabControlProxy.getSelectedTabItemName

Returns: number

selected tab item name


isContainer

isContainer(): boolean

Determine if the tab control is a container.

Implementation of ITabControlProxy.isContainer Overrides ControlProxy.isContainer

Returns: boolean

true/false. It always returns true for BottomNavigation.


setItemCaption

setItemCaption(tabItemName: string, newCaption: string): void

Set tab item caption by tab item name

Implementation of ITabControlProxy.setItemCaption

Parameters:

Name Type
tabItemName string
newCaption string

Returns: void


setSelectedTabItemByIndex

setSelectedTabItemByIndex(tabItemIndex: number): void

Set selected tab item by index for tab control

Implementation of ITabControlProxy.setSelectedTabItemByIndex

Parameters:

Name Type
tabItemIndex number

Returns: void


setSelectedTabItemByName

setSelectedTabItemByName(tabItemName: string): void

Set selected tab item by name for tab control

Implementation of ITabControlProxy.setSelectedTabItemByName

Parameters:

Name Type
tabItemName string

Returns: void