A newer version of this page is available. Switch to the current version.

BootstrapPageControl.TabPages Property

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

Namespace: DevExpress.Web.Bootstrap

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

Declaration

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

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.

Examples

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