TabPageCollection.GetVisibleTabPage(Int32) Method
Gets a tabbed page by its visible index.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
index | Int32 | An integer value representing the visible index of the tabbed page to be returned. |
#Returns
Type | Description |
---|---|
Tab |
A Tab |
#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.