A newer version of this page is available. Switch to the current version.

TabCollection.GetVisibleTabCount() Method

Returns the number of visible tabs in the ASPxTabControl.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll


public int GetVisibleTabCount()
Public Function GetVisibleTabCount As Integer


Type Description

An integer value representing the number of visible tabs in the tab control.


The visibility of a tab within the ASPxTabControl is controlled by two interrelated properties: the TabBase.Visible and TabBase.VisibleIndex. To obtain a particular visible tab by its visible index use the TabBase.VisibleIndex method.

The GetVisibleTabCount method returns the number of tabs currently visible in the control. The GetVisibleTabCount method can be used together with the TabCollection.GetVisibleTab method to iterate through the collection of visible tabs in the ASPxTabControl.

See Also