Dmitrii Erokhin
Dmitrii Erokhin

Reputation: 1347

Indent tab in TabControl

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.

Upvotes: 3

Views: 1292

Answers (2)

DeveloperX
DeveloperX

Reputation: 4683

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

Upvotes: 1

Dmitry Kruglov
Dmitry Kruglov

Reputation: 318

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

<TabControl>
  <TabItem Header="Tab" Margin="5,0,0,0" />
</TabControl>

Upvotes: 1

Related Questions