I need some way to hide the headers of a TabControl (I'll be switching the selected tab programatically). How can I do this?
WinForms Hiding TabControl Headers
tabcontrolwinforms
tabcontrolwinforms
I need some way to hide the headers of a TabControl (I'll be switching the selected tab programatically). How can I do this?
Best Answer
Here is the simplest solution:
Although the height is being set to 1 pixel, the headers will actually disappear completely when you also use
TabSizeMode.Fixed
.This has worked well for me.