The requested page is not available for the requested platform. You are viewing the content for Default platform.

BootstrapTabControl.Tabs Property

Provides access to the collection of tabs.

Namespace: DevExpress.Web.Bootstrap

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

Declaration

[PersistenceMode(PersistenceMode.InnerProperty)]
public BootstrapTabCollection Tabs { get; }
<PersistenceMode(PersistenceMode.InnerProperty)>
Public ReadOnly Property Tabs As BootstrapTabCollection

Property Value

Type Description
BootstrapTabCollection

A BootstrapTabCollection object representing the collection of the Tab Control's tabs.

Remarks

The Tabs property provides access to a collection that contains all the tabs of the current Tab Control. This collection provides standard means to manipulate (add or remove) tabs within the tab control. A particular tab can be accessed using index notation.

Examples

This example demonstrates the basic functionality of the Tab control.

The image below demonstrates the result:

BootstrapNavigation_Landing_Tabs

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