Basic Library for WPF and Silverlight | ComponentOne
WPF and Silverlight Edition Basic Library / TabControl / TabControl Features / Tabstrip Placement
In This Topic
    Tabstrip Placement
    In This Topic

    The C1TabControl control's tabstrip, by default, will appear along the top of the control. However, you can set the C1TabControl.TabStripPlacement property to Bottom, Left, or Right to change the position of the tabstrip.

    Top

    Bottom

    Left

    Right

    To change the placement of the C1TabControl's tabstrip element, use one of the following methods:

    To change the tabstrip placement, add TabStripPlacement="Right" to the <c1:C1TabControl> tab so that the markup resembles the following:

    XAML
    Copy Code
    <c1:C1TabControl TabStripPlacement="Right"></c1:C1TabControl>
    

    Complete the following steps:

    1. Switch to Code view.
    2. Add the following code beneath the InitializeComponent() method:
    Visual Basic
    Copy Code
    C1TabControl1.TabStripPlacement = Right
    

     

    C#
    Copy Code
    c1TabControl1.TabStripPlacement = Right;
    
    1. Run the program.

    Complete the following steps:

    1. Select the C1TabControl.
    2. In the  Properties window, click the TabStripPlacement drop-down arrow and select Right from the list.

     The image below depicts a C1TabControl control with its tabstrip placed on its right side.