Skip to content

Interface: ITabControlProxy

A designer-facing interface that provides access to a bottomnavigation and tabs control

It is passed to rules to provide access to a tab items for application specific customizations.

Hierarchy

Implemented by

Summary

Properties

Class Properties

Inherited Properties

Methods

Class Methods

Inherited Methods

Properties

tabItems

tabItems: IControlProxy[]

returns list of items in the tab control

Methods

getItemCaption

getItemCaption(tabItemName: string): string

Parameters:

Name Type
tabItemName string

Returns: string

tab item caption based on tab item name


getSelectedTabItemIndex

getSelectedTabItemIndex(): number

Returns: number

selected tab item index


getSelectedTabItemName

getSelectedTabItemName(): number

Returns: number

selected tab item name


setItemCaption

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

Set tab item caption by item name

Parameters:

Name Type
tabItemName string
newCaption string

Returns: any


setSelectedTabItemByIndex

setSelectedTabItemByIndex(tabItemIndex: number): any

Set selected tab item by index for tab control

Parameters:

Name Type
tabItemIndex number

Returns: any


setSelectedTabItemByName

setSelectedTabItemByName(tabItemName: string): any

Set selected tab item by name for tab control

Parameters:

Name Type
tabItemName string

Returns: any