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

TabControlViewBase Class

Serves as a base class for the DXTabControl‘s views.

Namespace: DevExpress.Xpf.Core

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

Declaration

public abstract class TabControlViewBase :
    Freezable

The following members return TabControlViewBase objects:

Remarks

The DXTabControl‘s layout, style and behavior settings are defined by view objects. The TabControlViewBase class provides basic functionality, common for all views.

The DXTabControl supports the following views:

  • Multiline View. In this view, if the number of tab headers is too large to entirely fit on a single line, the headers are arranged in multiple lines. As a result, all tab headers are displayed on the screen. The multi-line view is represented by the TabControlMultiLineView object.

    TabControlMultiLineView_gif

  • Scroll View. In this view, tab headers are displayed one after another in a single line. If the number of tab headers is too big to entirely fit into the Tab Header Panel, the DXTabControl displays scroll buttons. These buttons allow you to scroll through tab items. The scroll view is represented by the TabControlScrollView object.

    TabControlScrollView_gif

  • Stretch View. In this view, tab headers are displayed one after another in a single line. If the number of tab headers is too big to entirely fit in a single line of the Header Panel, the tab control stretches its tab headers. This type of view is represented by the TabControlStretchView object.

    TabControlStretchView_gif

To apply a view to the DXTabControl, create an object of a descendant type and assign it to the DXTabControl.View property.

To learn more about the views, see Views.

See Also