TabCollection.GetVisibleTab(Int32) Method
Gets a tab 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 tab to be returned. |
#Returns
Type | Description |
---|---|
Tab | A Tab object which represents the required visible tab. |
#Remarks
The visibility of a tab within the tab control 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 tab within the tab control.
The GetVisibleTab method obtains a tab specified by the value of its TabBase.VisibleIndex property. The GetVisibleTab method can be used together with the TabCollection.GetVisibleTabCount method to iterate through the collection of visible tabs in the control.