Version

TabLayoutStyle Enumeration

Enumerator used to specify how tabs are sized and laid out with respect to one another.
Syntax
'Declaration
 
Public Enum TabLayoutStyle 
   Inherits System.Enum
public enum TabLayoutStyle : System.Enum 
Members
MemberDescription
MultiRowAutoSizeEach tab is sized based on its text and image size. If the items can’t fit on a single row then additional rows will be added. If the number of rows exceeds the ‘MaxVisibleTabRows’ property then scroll buttons will be provided to scroll rows.
MultiRowFixedEach tab is sized based on the TabSize property setting. If the items can’t fit on a single row then additional rows will be added. If the number of rows exceeds the ‘MaxVisibleTabRows’ property then scroll buttons will be provided to scroll rows.
MultiRowSizeToFitEach tab is sized based on its text and image size. If the items can’t fit on a single row then additional rows will be added. If the number of rows exceeds the ‘MaxVisibleTabRows’ property then scroll buttons will be provided to scroll rows. If there is space left over on a tab row then it is divided evenly among all the tabs on the row so that each row is always filled.
MultiRowTabsPerRowThe size of each tab is a percentage of the available space based on the TabsPerRow property setting. If the items can’t fit on a single row then additional rows will be added. If the number of rows exceeds the ‘MaxVisibleTabRows’ property then scroll buttons will be provided to scroll rows.
SingleRowAutoSizeEach tab is sized based on its text and image size. If the items can’t fit scroll buttons will be provided to scroll tabs.
SingleRowCompressedThe text and image are displayed for the active tab only. All other tabs display only the image.
SingleRowFixedEach tab is sized based on the TabSize property setting. If the items can’t fit scroll buttons will be provided to scroll tabs.
SingleRowJustifiedThe tabs are sized up to the autosize width. If there is not enough room to display all of the tabs then the space is divided evenly amongst the tabs.
SingleRowSizeToFitEach tab is sized based on its text and image size. If there is not enough space for all tabs then the tabs are shortened enough to fit (longer tabs are shortened first until they are the same size as the smaller tabs). If there is space left over then it is divided evenly among all the tabs so that the entire row is always filled.
SingleRowTabsPerRowThe size of each tab is a percentage of the available space based on the TabsPerRow property setting.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also