Skip to content

XTPTabLayoutStyle Enumeration

Description

Specifies how the tab buttons will be sized.

Members

  • xtpTabLayoutAutoSize
    Tabs will be automatically sized based on the caption and image size. With this flag set, tabs will appear in their normal size.

  • xtpTabLayoutSizeToFit
    Tabs are sized to fit within the TabControl tab panel. All tabs will be compressed into the TabControl tab panel.

  • xtpTabLayoutFixed
    Tabs will be set to a fixed size within the TabControl tab panel.

  • xtpTabLayoutCompressed
    Tabs will be compressed within the TabControl tab panel. This will compress the size of the tabs, but all tabs will not be forced into the tab panel.

  • xtpTabLayoutMultiRow
    The TabControl can display more than one row of tabs. The number of rows is automatically set by the width and number of the tabs. The number of rows can change if the control is resized, which ensures that the tab wraps to the next row. If the tab layout is not set to xtpTabLayoutMultiRow, and the last tab exceeds the width of the control, left and right arrow buttons are added at the right end of the TabControl. Both the MultiRowFixedSelection and MultiRowJustified properties can be used to further customize how the tabs are displayed when there are multiple rows of tabs.

  • xtpTabLayoutRotated
    This will cause the caption of the tabs displayed on the top or bottom to be displayed vertically, and tabs displayed on the left or right to be displayed horizontally.

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.