The requested page is not available for the requested platform. You are viewing the content for Default platform.

BootstrapClientTabControl.GetTab(index) Method

Returns a tab specified by its index.

Declaration

GetTab(index: number): BootstrapClientTab

Parameters

Name Type Description
index number

An integer value specifying the zero-based index of the tab object to retrieve.

Returns

Type Description
BootstrapClientTab

A BootstrapClientTab object representing the tab located at the specified index within the control's BootstrapTabControl.Tabs collection.

Remarks

The tab control's client-side functionality allows its tabs to be accessed programmatically on the client side. This method gets a client tab object specified by the index it has within the BootstrapTabControl.Tabs collection.

Note that the index parameter is zero-based and its upper available value is specified by the ASPxClientTabControlBase.GetTabCount value decremented by one. If an invalid index is passed via the parameter, the method returns null.

This method can be used together with the ASPxClientTabControlBase.GetTabCount method when iterating through the tab control's tab list.

See Also