You can customize the width and height of the tab pages by setting its ItemSize to an appropriate value. This will make all the tab pages the same size no matter what the content is inside each tab. Its default settings for its size are based on the size of its text and image. In addition to customizing the height and width of each tab you can also set a mode for the tabs. The TabSizeMode property contains four types of members: FillToEnd, Fit, Normal, and User. The FillToEnd stretches the tabs so they take the whole width of the tab control. The Fit squeezes all tabs so they fit into the width of the tab control. The Normal member gets the default sizing mode. The User member allows the user to specify the tab size in the MeasureTab event. The following table shows the effect of each TabSizeMode member.
Property Setting | Image |
---|---|
Normal | |
Fit | |
FillToEnd | |
User |