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

XtraTabControl Class

Displays tabbed pages where you can place your controls.

Namespace: DevExpress.XtraTab

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

[ToolboxBitmap(typeof(ToolboxIconsRootNS), "XtraTabControl")]
[SmartTagSupport(typeof(XtraTabControlBoundsProvider), SmartTagSupportAttribute.SmartTagCreationMode.Auto)]
[SmartTagFilter(typeof(XtraTabControlFilter))]
[SmartTagAction(typeof(XtraTabControlActions), "TabPages", "Tab Pages", SmartTagActionType.CloseAfterExecute)]
[SmartTagAction(typeof(XtraTabControlActions), "AddTabPage", "Add Tab Page")]
[SmartTagAction(typeof(XtraTabControlActions), "RemoveTabPage", "Remove Tab Page")]
[SmartTagAction(typeof(XtraTabControlActions), "CustomHeaderButtons", "Custom Header Buttons", SmartTagActionType.CloseAfterExecute)]
[SmartTagAction(typeof(XtraTabControlActions), "DockInParentContainer", "Dock in parent container", SmartTagActionType.CloseAfterExecute)]
[SmartTagAction(typeof(XtraTabControlActions), "UndockFromParentContainer", "Undock from parent container", SmartTagActionType.CloseAfterExecute)]
public class XtraTabControl :
    ControlBase,
    ISupportInitialize,
    IXtraTab,
    IXtraTabProperties,
    IXtraTabPropertiesEx,
    IXtraTabCustomDraw,
    IToolTipControlClient,
    ISupportLookAndFeel,
    IDocumentAdapterFactory,
    ITabControlAnimationProvider,
    ISupportAdornerUIManager,
    IWin32Window,
    IUpdateAdornerUI,
    ISupportDXSkinColorsEx,
    ISupportDXSkinColors

The following members accept/return XtraTabControl objects:

Remarks

XtraTabControl is a container for tab pages, which can display other controls.

XtraTabControl

Tab pages are stored in the XtraTabControl.TabPages collection. Each page has a tab header, which can be clicked to activate this page. The currently active tab page is specified by the XtraTabControl.SelectedTabPage property.

The following are the main control features:

NOTE

Controls contained in the XtraTabControl are not validated when the Form.ValidateChildren method is invoked. See this KB article for a solution.

See Also