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

DXTabControl Class

Represents the DXTabControl.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v18.2.dll

Declaration

public class DXTabControl :
    HeaderedSelectorBase<DXTabControl, DXTabItem>,
    ICloneable,
    IThemedWindowSupport,
    IMultipleElementRegistratorSupport,
    IBarNameScopeSupport,
    IInputElement

Remarks

The DXTabControl enables you to provide the tab-based navigation functionality for your applications, powered by WPF.

TabControl

The DXTabControl contains a collection of tab items, represented by the DXTabItem objects. This collection is zero-based indexed and can be accessed using the Items property. The Items collection generally contains arbitrary objects. In this instance, the actual tab items are obtained by applying the ItemTemplate template to the corresponding collection element. The tab items are visually identified by their headers displayed within the Header Panel. The Header Panel can be located at the top (by default), at the bottom, on the left side or the right side of the tab item. Clicking a tab header selects the corresponding tab item.

The DXTabControl allows individual tab items to be hidden. A hidden tab item is not disposed and can be shown later. The DXTabControl provides a popup menu (header menu), which is invoked when clicking an arrow displayed in the corner of the DXTabControl. The header menu’s items correspond to tab items in the DXTabControl. Clicking a menu item automatically selects the corresponding tab item. The header menu can optionally include items which correspond to hidden tab items. Clicking these menu items, shows the corresponding tab items within the DXTabControl. To learn more, see Showing and Hiding Tab Items.

The DXTabControl‘s layout, style and behavior settings are defined by view objects. Views are represented by the TabControlViewBase descendant classes. To apply a view to the DXTabControl, create a view object and assign it to the DXTabControl.View property.

To learn more, see DXTabControl.

Inheritance

Show 11 items
Object
DispatcherObject
DependencyObject
Visual
UIElement
FrameworkElement
Control
ItemsControl
DevExpress.Xpf.Core.Native.SelectorBase<DXTabControl, DXTabItem>
DevExpress.Xpf.Core.Native.HeaderedSelectorBase<DXTabControl, DXTabItem>
DXTabControl
See Also