3

I'd better illustrate what I want to achieve.

Original:                         Desired:

original tab                 desired tab position

Any ideas how to draw tabs in this way? Thanks.

Dmitrii Erokhin
  • 1,347
  • 13
  • 31

2 Answers2

1

You should set a margin for your first tab. Like this:

<TabControl>
  <TabItem Header="Tab" Margin="5,0,0,0" />
</TabControl>
Dmitry Kruglov
  • 318
  • 1
  • 9
1

Ok I found this post in stack overflow ,I think it is what you want Draw controls in tab control tab header area in Winforms

Community
  • 1
  • 1
DeveloperX
  • 4,633
  • 17
  • 22
  • Thanks for the links. However, as for now I'm using this component http://www.codeproject.com/KB/tabs/ThemedBottomTabNET.aspx . It looks promising, I've already managed to draw tabs the way I want and now it just needs some minor tweaks. – Dmitrii Erokhin Nov 14 '11 at 10:44
  • Yes,I visited that one,its good but I thought it was'nt what you want – DeveloperX Nov 14 '11 at 10:46