Skip to main content

ASPxClientRibbon.GetTabCount Method

Returns the number of tabs in the ribbon ASPxRibbon.Tabs collection.

Declaration

GetTabCount(): number

Returns

Type Description
number

The number of tabs in the control.

Remarks

The ribbon control’s client-side functionality allows tab objects to be accessed programmatically on the client side. The GetTabCount method is used to determine the number of tabs maintained by the control’s ASPxRibbon.Tabs collection (note, that the file tab is not contained in the collection). This method can be used, together with the ASPxClientRibbon.GetTab method, when iterating through the tab list to determine its upper limit.

See Also