ComponentOne Menus and Toolbars for WinForms
DockingTab Overview / DockingTab Appearance and Behavior Properties / Text Orientation
In This Topic
    Text Orientation
    In This Topic

    In addition to determining the layout of the tabs you can also customize the layout of the text in the tabs. You can use the TextDirection property to display the text horizontally, vertically, vertically from right to left, or vertically from left to right. The following table illustrates how the tabs appear when the TextDirection is set to Horizontal, VerticalLeft, or VerticalRight:

    Property Setting Image
    Horizontal Horizontal
    VerticalLeft Vertical left
    VerticalRight Vertical right

    When you have text and an image displayed in the tab you may want to control whether the text is displayed above, below, to the left or to the right of the image. You can use TabLayout property to set the text above, below, to the left or to the right of the image in the tab.

    Property Setting Image
    TextOnRight Text on Right
    TextonLeft Text on Left
    TextAbove Text Above Tab Layout
    TextBelow Text Below Tab Layout