I need some way to hide the headers of a TabControl (I’ll be switching the selected tab programatically). How can I do this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Put the tabcontrol in a panel and fixate it so it hides the headers.
Easiest is to do it in the code behind (or create a custom control that does this):
Now, if you resize the panel, the tabcontrol will follow and only show the tabpage-area.