XtraTabPage Class
Represents a single tab page.
Namespace: DevExpress.XtraTab
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
public class XtraTabPage :
XtraPanel,
IXtraTabPageExt,
IXtraTabPage,
IToolTipControlClient,
IAnimatedItem,
ISupportXtraAnimation,
ISupportAdornerElementEx,
ISupportAdornerElement,
IUpdateAdornerUI,
ISupportDXSkinColorsEx,
ISupportDXSkinColors
Related API Members
The following members return XtraTabPage objects:
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.
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 images to be displayed in tab page headers, use the XtraTabPage.Image and XtraTabPage.ImageIndex properties.