سؤال

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.

هل كانت مفيدة؟

المحلول

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

نصائح أخرى

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

<TabControl>
  <TabItem Header="Tab" Margin="5,0,0,0" />
</TabControl>
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top