Skip to main content

Tab Class

Represents an individual tab.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.1.dll

NuGet Package: DevExpress.Web


public class Tab :


The Tab class contains the settings which define an individual tab within the ASPxTabControl. Each tab can display an image and text. An end user can click the tab to switch between the tabs. Note that only one tab can be visible at a time. The tabs allow you to directly update particular page areas or point an end user to any specific location. The Tab.NavigateUrl property of a tab object can be used to specify an URL which defines the navigation location.

All the tabs are stored in the tab control’s ASPxTabControl.Tabs collection. Individual tabs can be accessed using index notation.

The tab’s visibility and position are specified by its TabBase.Visible and TabBase.VisibleIndex properties. The TabBase.Enabled property specifies whether the tab can be activated. A disabled tab cannot be activated by an end user or via code, its header is displayed grayed.

By default, the appearance of all the tabs is specified by the tab control’s style properties. In order to define custom appearance settings for individual tabs, the tab level’s style properties should be used.

Note that the Tab class has a client-side equivalent - an object of the ASPxClientTab type.

See Also