Skip to main content
Tab

TabPageCollection.GetVisibleTabPageCount() Method

Returns the number of visible tabbed pages in the ASPxPageControl.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

public int GetVisibleTabPageCount()

Returns

Type Description
Int32

An integer value representing the number of visible tabbed pages in the page control.

Remarks

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

The GetVisibleTabPageCount method returns the number of tabbed pages currently visible in the control. The GetVisibleTabPageCount method can be used together with the TabPageCollection.GetVisibleTabPage method to iterate through the collection of visible tabbed pages in the ASPxPageControl.

See Also