Skip to main content

TabPageCollection.GetVisibleTabPage(Int32) Method

Gets a tabbed page by its visible index.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.2.dll


public TabPage GetVisibleTabPage(
    int index


Name Type Description
index Int32

An integer value representing the visible index of the tabbed page to be returned.


Type Description

A TabPage object which represents the required visible tabbed page


The visibility of a tabbed page within the ASPxPageControl is controlled by two interrelated properties: the TabBase.Visible and TabBase.VisibleIndex. At that, the TabBase.VisibleIndex property specifies the precise visible position of a tabbed page within the control.

The GetVisibleTabPage method obtains a tabbed page specified by the value of its TabBase.VisibleIndex property. The GetVisibleTabPage method can be used together with the TabPageCollection.GetVisibleTabPageCount method to iterate through the collection of visible tabbed pages in the control.

See Also