0

I've used the answer to this question to develop tabs that have a add tab and remove tab functionality: Close button for TabPages of Right To Left TabControl c#

The look here is very different compared to the default tabs look. How do I paint the custom control in the above question to make it look like the default tabs look? Images below to demonstrate what I mean.

This first image here shows the default look without having the tabcontrol being overriden by ownerdrawmode.

This is the default look

This second image here shows the look from the answer in the link.

enter image description here

Community
  • 1
  • 1
Guy Lee
  • 193
  • 1
  • 10

1 Answers1

0

How about using custom drawn controls instead of those tab headers (i guess thats how they are called) and loading user control instead of that tab page? it can be easily done: here is "tabs" (user controls) sample https://github.com/WithoutCaps/LimitlessUI/blob/master/LimitlessUI/TabsAdapter_WOC.cs

(there is project demo too )