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

XtraTabControl Class

Displays tabbed pages where you can place your controls.

Namespace: DevExpress.XtraTab

Assembly: DevExpress.XtraEditors.v18.1.dll

Declaration

[ToolboxBitmap(typeof(ToolboxIconsRootNS), "XtraTabControl")]
[SmartTagAction(typeof(XtraTabControlActions), "DockInParentContainer", "Dock in parent container", SmartTagActionType.CloseAfterExecute)]
[SmartTagAction(typeof(XtraTabControlActions), "UndockFromParentContainer", "Undock from parent container", SmartTagActionType.CloseAfterExecute)]
[ToolboxTabName("DX.18.1: Navigation & Layout")]
[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)]
public class XtraTabControl :
    ControlBase,
    ISupportInitialize,
    IXtraTab,
    IXtraTabProperties,
    IXtraTabPropertiesEx,
    IToolTipControlClient,
    ISupportLookAndFeel,
    IDocumentAdapterFactory,
    ITabControlAnimationProvider,
    ISupportAdornerUIManager,
    IWin32Window,
    IUpdateAdornerUI

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:

The following code snippets (auto-collected from DevExpress Examples) contain references to the XtraTabControl class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also