Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TabControl Header's Height

I am working with WinForms and at a point I am unable to find the height of Header of TabControl user in my Win-form, Below I am attaching the In-circle Image which i want to achieve, I have searched a lot but I am unable to find out solution

ScreenShot

like image 644
DareDevil Avatar asked Feb 06 '14 10:02

DareDevil


2 Answers

write this way:

that can find your headser height.

TabControl1.Height - TabPage1.Height
like image 131
pankeel Avatar answered Oct 06 '22 23:10

pankeel


Here is another way

TabControl1.ItemSize.Height
like image 38
Ricardo González Avatar answered Oct 06 '22 23:10

Ricardo González