In This Topic
Tabs can appear rounded, sloped, or rectangular. By default, the tab will appear rounded, but you can change the shape of the tabs to any of the three settings by setting the C1TabControl.TabItemShape property to Rectangle, Rounded, or Sloped.
Rectangle

Rounded

Sloped

To change the tab shape, use one of the following methods:
Add TabItemShape="Sloped" to the <c1:C1TabControl> tag so that the markup resembles the following:
XAML |
Copy Code
|
<c1:C1TabControl TabItemShape="Sloped"></c1:C1TabControl>
|
Complete the following steps:
- Switch to Code view.
- Add the following code beneath the InitializeComponent() method:
Visual Basic |
Copy Code
|
C1TabControl1.TabItemShape = Sloped
|
C# |
Copy Code
|
c1TabControl1.TabItemShape = Sloped;
|
- Run the program.
Complete the following steps:
- Select the C1TabControl control.
- In the Properties window, click the TabItemShape drop-down arrow and select Sloped from the list.
The image below depicts a C1TabControl control with sloped tabs.
