Tab

TabPageCollection.GetVisibleTabPage(Int32) Method

Gets a tabbed page by its visible index.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

Declaration

public TabPage GetVisibleTabPage(
    int index
)
Public Function GetVisibleTabPage(
    index As Integer
) As TabPage

Parameters

Name Type Description
index Int32

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

Returns

Type Description
TabPage

A TabPage object which represents the required visible tabbed page

Remarks

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