Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

XtraTabPage Class

Represents a single tab page.

Namespace: DevExpress.XtraTab

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public class XtraTabPage :
    XtraPanel,
    IXtraTabPageExt,
    IXtraTabPage,
    IToolTipControlClient,
    IAnimatedItem,
    ISupportXtraAnimation,
    ISupportAdornerElementEx,
    ISupportAdornerElement,
    IUpdateAdornerUI,
    ISupportDXSkinColorsEx,
    ISupportDXSkinColors

#Remarks

The tab pages are used to display other controls. They provide a client area to which visual elements can be added. Each page has a header which can display an image and text. An end-user can click the page header to switch between the pages in a tab control. Note that only one tab page at a time is active.

The image below shows a tab page.

XtraTabPage

All the tab pages are stored in the tab control’s XtraTabControl.TabPages collection. Individual pages can be accessed using index notation.

The tab page’s visibility is specified by its XtraTabPage.PageVisible property. The XtraTabPage.PageEnabled property specifies whether the page can be activated. A disabled page cannot be activated by an end-user or via code, and its header is displayed grayed.

By default, the appearance of all tab pages is specified by the tab control’s XtraTabControl.AppearancePage property. Individual pages can be painted with custom appearance settings. Use the page’s XtraTabPage.Appearance property for this purpose.

Tab pages support animated images (animated GIF files). Animation starts automatically at runtime. To stop and then restart animation, use the XtraTabPage.StopAnimation and XtraTabPage.StartAnimation methods, respectively.

To specify the image displayed in the header, use the XtraTabPage.ImageOptions property.

See Also