Skip to main content
Tab

TabCollection.GetVisibleTabCount() Method

Returns the number of visible tabs in the ASPxTabControl.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public int GetVisibleTabCount()

Returns

Type Description
Int32

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

Remarks

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