Skip to main content
A newer version of this page is available. .

BootstrapPageControl.TabPages Property

Provides access to the collection of tabbed pages within the PageControl.

Namespace: DevExpress.Web.Bootstrap

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

Declaration

[PersistenceMode(PersistenceMode.InnerProperty)]
public BootstrapTabPageCollection TabPages { get; }

Property Value

Type Description
BootstrapTabPageCollection

A BootstrapTabPageCollection object representing the collection of tabbed pages.

Remarks

The TabPages property provides access to a collection that contains all tabbed pages of the current page control. This collection provides standard means to manipulate (add or remove) page objects within the page control. A particular tabbed page can be accessed using index notation.

Example

This example demonstrates the basic functionality of the Page Control.

The image below shows the result:

BootstrapPageTabControl_Overview

<dx:BootstrapPageControl runat="server">
    <TabPages>
        <dx:BootstrapTabPage Text="Home">
            <ContentCollection>
                <dx:ContentControl runat="server" SupportsDisabledAttribute="True">
                    ...
                </dx:ContentControl>
            </ContentCollection>
        </dx:BootstrapTabPage>
        <dx:BootstrapTabPage Text="Products">
            <ContentCollection>
                <dx:ContentControl runat="server" SupportsDisabledAttribute="True">
                    ...
                </dx:ContentControl>
            </ContentCollection>
        </dx:BootstrapTabPage>
        <dx:BootstrapTabPage Text="Support">
            <ContentCollection>
                <dx:ContentControl runat="server" SupportsDisabledAttribute="True">
                    ...
                </dx:ContentControl>
            </ContentCollection>
        </dx:BootstrapTabPage>
    </TabPages>
</dx:BootstrapPageControl>
See Also