TabPanel is a lot like WPF’s
WrapPanel, but with limitations in some areas and extra features in other areas. As its name indicates, it is used in the default style for
TabControl to arrange its tabs. Unlike
WrapPanel, it supports only horizontal stacking and vertical wrapping. When wrapping occurs, it evenly stretches elements so that all rows consume the entire width of the panel.