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

    C1DockingTab provides various options for the tab orientation. The tabs can be aligned to the top, bottom, left, or right of the C1DockingTab control by using the Alignment property.

    The following image displays the tabs aligned at the top of the C1DockingTab.


    tabs aligned in docking tab

    In addition to choosing the tab layout you can also specify how the tabs are aligned along the side of the page content area by setting the AlignTabs property to Near, Far, or Center.

    Note: The AlignTabs will not take effect if the TabSizeMode property is set to Fit.

    The following image displays the tabs aligned at the Top and Center of the C1DockingTab control:


    docking tab

    If you would like your tabs located at a specific location rather than Near, Far, or Center of the control you can specify exactly where by setting the Indent property to a specific number in pixels. For example the following image depicts the tabs indented to 30 pixels.


    Tab idented to 30 pixels in docking tab
    See Also