Skip to main content

BootstrapTab Class

Represents an individual tab.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v23.2.dll

NuGet Package: DevExpress.Web.Bootstrap


public class BootstrapTab :


The BootstrapTab class contains the settings which define an individual tab within the BootstrapTabControl. 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 BootstrapTabControl.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.

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


This example demonstrates the basic functionality of the Tab control.

The image below demonstrates the result:


<dx:BootstrapTabControl runat="server">
        <dx:BootstrapTab Text="Home">
        <dx:BootstrapTab Text="Products">
        <dx:BootstrapTab Text="Support">
See Also