'Declaration Public Enum TabLayoutStyle Inherits System.Enum
public enum TabLayoutStyle : System.Enum
Member | Description |
---|---|
MultiRowAutoSize | Each 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. |
MultiRowFixed | Each 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. |
MultiRowSizeToFit | Each 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. |
MultiRowTabsPerRow | The 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. |
SingleRowAutoSize | Each tab is sized based on its text and image size. If the items can’t fit scroll buttons will be provided to scroll tabs. |
SingleRowCompressed | The text and image are displayed for the active tab only. All other tabs display only the image. |
SingleRowFixed | Each tab is sized based on the TabSize property setting. If the items can’t fit scroll buttons will be provided to scroll tabs. |
SingleRowJustified | The 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. |
SingleRowSizeToFit | Each 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. |
SingleRowTabsPerRow | The size of each tab is a percentage of the available space based on the TabsPerRow property setting. |
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